17 lines
385 B
Text
17 lines
385 B
Text
$NetBSD: patch-ab,v 1.2 2006/02/06 13:54:04 obache Exp $
|
|
|
|
--- util.c.orig 2006-02-02 08:53:39.000000000 +0900
|
|
+++ util.c
|
|
@@ -3,7 +3,12 @@
|
|
#include <stdarg.h>
|
|
#include <syslog.h>
|
|
#include <arpa/inet.h>
|
|
+#ifdef __linux__
|
|
#include <linux/sockios.h>
|
|
+#else
|
|
+#include <sys/sockio.h>
|
|
+#include <sys/socket.h>
|
|
+#endif
|
|
#include <net/if.h>
|
|
#include <netinet/in.h>
|
|
#include <sys/ioctl.h>
|