openbsd-ports/mbone/sdr/patches/patch-sdr_src_sdr_h
wilfried bb1af71e4d * respect CC/CFLAGS
* split patches into separate files
2001-03-17 17:33:18 +00:00

25 lines
596 B
Plaintext

$OpenBSD: patch-sdr_src_sdr_h,v 1.1 2001/03/17 17:33:20 wilfried Exp $
--- sdr/src/sdr.h.orig Tue May 25 17:59:36 1999
+++ sdr/src/sdr.h Fri Mar 16 20:55:41 2001
@@ -8,9 +8,9 @@
#include "sys/stat.h"
#else
#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
+#if !defined(__OpenBSD__)
#include <net/if.h>
+#endif
#include <sys/ioctl.h>
#include <netdb.h>
#include <pwd.h>
@@ -18,6 +18,8 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
#include <arpa/nameser.h>
#include <resolv.h>
#ifdef AIX41