proper includes before arpa/inet.h
This commit is contained in:
parent
7c301b1f01
commit
67b259320a
11
audio/opennap/patches/patch-server_connect_c
Normal file
11
audio/opennap/patches/patch-server_connect_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-server_connect_c,v 1.1 2003/05/27 22:54:26 pvalchev Exp $
|
||||
--- server_connect.c.orig Tue May 27 12:54:12 2003
|
||||
+++ server_connect.c Tue May 27 12:54:21 2003
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <stdio.h>
|
||||
#ifndef WIN32
|
||||
#include <unistd.h>
|
||||
+#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
#include "opennap.h"
|
12
graphics/libgphoto2/patches/patch-aclocal_m4
Normal file
12
graphics/libgphoto2/patches/patch-aclocal_m4
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-aclocal_m4,v 1.1 2003/05/27 22:54:26 pvalchev Exp $
|
||||
--- aclocal.m4.orig Sun Dec 1 14:46:04 2002
|
||||
+++ aclocal.m4 Tue May 27 15:40:56 2003
|
||||
@@ -6579,6 +6579,8 @@ dnl Look for standard byte swapping macr
|
||||
AC_HAVE_SYMBOL(ntohl,arpa/inet.h,
|
||||
[cat >> "$1" << EOF
|
||||
/* ntohl and relatives live here */
|
||||
+#include <sys/types.h>
|
||||
+#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
EOF],
|
Loading…
x
Reference in New Issue
Block a user