summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-22 14:35:27 +0000
committerRoy Marples <roy@marples.name>2008-02-22 14:35:27 +0000
commit349d5cd8ea4e5626af15f7bc4f42baab8ca4a12a (patch)
tree39c7d5e8e10cf59c0b9f5c97a1a25e6985a103d5 /common.h
parent4ccd6ec66f331bdf2232dd886380b94d613ead77 (diff)
downloaddhcpcd-349d5cd8ea4e5626af15f7bc4f42baab8ca4a12a.tar.xz
Fix building on GNU/kFreeBSD, Debian #467005
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index fa8f9281..46f1886d 100644
--- a/common.h
+++ b/common.h
@@ -49,7 +49,7 @@ size_t strlcpy (char *dst, const char *src, size_t size);
#endif
#define HAVE_SRANDOMDEV
-#if defined(__linux__) || defined(__NetBSD__)
+#if defined(__GLIBC__) || defined(__NetBSD__)
# undef HAVE_SRANDOMDEV
void srandomdev (void);
#endif