1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-04 23:51:47 +02:00

Don't include linux/ in #include

The linux dirs are conditionally added to the `-I` path.
This commit is contained in:
John Ericson 2024-04-15 16:57:07 -04:00 committed by Maximilian Bosch
parent ba68045187
commit fb9f4208ed
No known key found for this signature in database

View file

@ -37,7 +37,7 @@
/* Includes required for chroot support. */ /* Includes required for chroot support. */
#if __linux__ #if __linux__
# include "linux/fchmodat2-compat.hh" # include "fchmodat2-compat.hh"
# include <sys/ioctl.h> # include <sys/ioctl.h>
# include <net/if.h> # include <net/if.h>
# include <netinet/ip.h> # include <netinet/ip.h>