]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/generate-arphrd-list.sh
af-list,arphrd-list: also include relevant missing_*.h headers
[thirdparty/systemd.git] / src / basic / generate-arphrd-list.sh
index e4e7271c4de01add7153f75ad1fbbaaa756df292..e6e874a8fd06d0b4c83a0a4f50aef3960936c1c6 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 set -eu
 
-$1 -dM -include net/if_arp.h - </dev/null | \
+$1 -dM -include net/if_arp.h -include "$2" -include "$3" - </dev/null | \
         awk '/^#define[ \t]+ARPHRD_[^ \t]+[ \t]+[^ \t]/ { print $2; }' | \
         sed -e 's/ARPHRD_//'