summaryrefslogtreecommitdiffstats
path: root/util/src
diff options
context:
space:
mode:
Diffstat (limited to 'util/src')
-rw-r--r--util/src/platforms/unix/uuid_gen_unix.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/src/platforms/unix/uuid_gen_unix.c b/util/src/platforms/unix/uuid_gen_unix.c
index cdc2544..1941207 100644
--- a/util/src/platforms/unix/uuid_gen_unix.c
+++ b/util/src/platforms/unix/uuid_gen_unix.c
@@ -32,7 +32,9 @@
# include <linux/if.h>
#else
# ifdef HAVE_NET_IF_H
-# include <sys/sockio.h>
+# ifdef HAVE_SYS_SOCKIO_H
+# include <sys/sockio.h>
+# endif
# include <net/if.h>
# include <net/if_arp.h>
# endif