]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/generate-af-list.sh
Merge pull request #11827 from keszybz/pkgconfig-variables
[thirdparty/systemd.git] / src / basic / generate-af-list.sh
index 39e2dad5e7ab205ecec469df53677243e87f4b09..5bf244c49d1f58dc04fbae2012c6bb77f806ec74 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 set -eu
 
-$1 -E -dM -include sys/socket.h - </dev/null | \
+$1 -E -dM -include sys/socket.h -include "$2" -include "$3" - </dev/null | \
         grep -Ev 'AF_UNSPEC|AF_MAX' | \
         awk '/^#define[ \t]+AF_[^ \t]+[ \t]+[AP]F_[^ \t]/ { print $2; }'