openbsd-ports/lang/scm/patches/patch-scm_socket_c
2001-02-03 20:42:45 +00:00

14 lines
346 B
Plaintext

$OpenBSD: patch-scm_socket_c,v 1.2 2001/02/03 20:42:47 espie Exp $
--- socket.c.orig Tue Jan 30 14:16:50 2001
+++ socket.c Tue Jan 30 14:17:26 2001
@@ -69,6 +69,9 @@
# ifdef SVR4
# include <unistd.h>
# endif
+# ifdef __OpenBSD__
+# include <unistd.h>
+# endif
#endif /* STDC_HEADERS */
static char s_inetaddr[] = "inet:string->address";