Skip to content

Commit

Permalink
Don't include linux/ in #include
Browse files Browse the repository at this point in the history
The linux dirs are conditionally added to the `-I` path.
  • Loading branch information
Ericson2314 authored Apr 15, 2024
1 parent 628c1e8 commit 128f1e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/build/local-derivation-goal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

/* Includes required for chroot support. */
#if __linux__
# include "linux/fchmodat2-compat.hh"
# include "fchmodat2-compat.hh"
# include <sys/ioctl.h>
# include <net/if.h>
# include <netinet/ip.h>
Expand Down

0 comments on commit 128f1e7

Please sign in to comment.