openbsd-ports/editors/cooledit/patches/patch-rxvt__rxvtlib_h
2003-08-01 19:13:25 +00:00

15 lines
520 B
Plaintext

$OpenBSD: patch-rxvt__rxvtlib_h,v 1.2 2003/08/01 19:13:25 espie Exp $
--- rxvt/_rxvtlib.h.orig 2002-08-03 13:03:26.000000000 +0200
+++ rxvt/_rxvtlib.h 2003-08-01 20:33:56.000000000 +0200
@@ -170,7 +170,10 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <net/if.h>
+/* on both these OSes, including net/if.h triggers inclusion of if_arp.h */
+#if !defined(__NetBSD__) && !defined(__OpenBSD__)
#include <net/if_arp.h>
+#endif
#include "X11/keysymdef.h"
#include <X11/cursorfont.h>
#include <X11/Xatom.h>