openbsd-ports/net/wide-dhcp/patches/patch-server_delarp_c

31 lines
760 B
Plaintext

$OpenBSD: patch-server_delarp_c,v 1.1 2013/05/10 09:56:45 sthen Exp $
--- server/delarp.c.orig Thu Sep 11 02:28:58 1997
+++ server/delarp.c Fri May 10 10:49:50 2013
@@ -37,7 +37,7 @@
* SUCH DAMAGE.
*/
-#ifndef lint
+#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)arp.c 8.2 (Berkeley) 1/2/94";
#endif /* not lint */
@@ -60,7 +60,7 @@ static char sccsid[] = "@(#)arp.c 8.2 (Berkeley)
#include <syslog.h>
-#if defined(__bsdi__) || (__FreeBSD__ >= 2)
+#if defined(__bsdi__) || (__FreeBSD__ >= 2) || defined(__OpenBSD__)
/*
* delarp for BSD/OS 2.*
*/
@@ -184,7 +184,7 @@ tryagain:
#else
/*
- * it is not BSD/OS 2.* nor FreeBSD
+ * it is not BSD/OS 2.* not FreeBSD nor OpenBSD
*/
#include <sys/ioctl.h>