diff options
author | Thomas Habets <thomas@habets.se> | 2015-04-22 20:34:09 +0100 |
---|---|---|
committer | Thomas Habets <thomas@habets.se> | 2015-04-22 20:38:49 +0100 |
commit | ba23130b3aa3094949e2e9b9a5ea578d8edc8ac5 (patch) | |
tree | 16eed489d39ed2ce8f8276fe33f27fdd01cf4d30 /configure.ac | |
parent | 7704d2fe04a4d1f4b86176d1aa9794ab6e7686b5 (diff) | |
download | arping-ba23130b3aa3094949e2e9b9a5ea578d8edc8ac5.tar.gz |
Conditionally include grp.h and sys/param.h.
FreeBSD says setgroups() is in sys/param.h, and on my Linux it's
actually in grp.h even though manpage doesn't mention it.
This silences a warning when building with clang.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 53b8c85..611a044 100644 --- a/configure.ac +++ b/configure.ac @@ -35,8 +35,10 @@ netinet/in.h \ stdlib.h \ sys/socket.h \ time.h \ +grp.h \ sys/time.h \ sys/types.h \ +sys/param.h \ sys/capability.h \ stdint.h \ libnet.h \ |