openbsd-ports/misc/srcpd/patches/patch-src_netservice_c
naddy ea255a4d5a * don't rely on <arpa/inet.h> pulling in <netinet/in.h>
* fix ksh-isms and thus syntax errors in configure script

ok sebastia@
2012-07-09 14:54:25 +00:00

12 lines
282 B
Plaintext

$OpenBSD: patch-src_netservice_c,v 1.3 2012/07/09 14:54:26 naddy Exp $
--- src/netservice.c.orig Mon Jul 9 15:06:00 2012
+++ src/netservice.c Mon Jul 9 15:08:54 2012
@@ -6,6 +6,7 @@
*
*/
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <grp.h>