Fixes build on Debian GNU/kFreeBSD (contributed by Cyril Brulebois) and
GNU/Hurd.
---
 ngrep.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/ngrep.c
+++ b/ngrep.c
@@ -32,7 +32,7 @@
 #include <pwd.h>
 #endif
 
-#if defined(LINUX)
+#if defined(LINUX) || defined(__GLIBC__) || defined(__GNU__)
 #include <getopt.h>
 #include <arpa/inet.h>
 #include <ctype.h>
