openbsd-ports/devel/fossil/patches/patch-src_http_socket_c

16 lines
427 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_http_socket_c,v 1.1 2011/12/16 11:32:22 sthen Exp $
--- src/http_socket.c.orig Fri Dec 16 11:27:18 2011
+++ src/http_socket.c Fri Dec 16 11:27:30 2011
@@ -35,10 +35,10 @@
# include <ws2tcpip.h>
# endif
#else
+# include <netinet/in.h>
# include <arpa/inet.h>
# include <sys/socket.h>
# include <netdb.h>
-# include <netinet/in.h>
#endif
#include <assert.h>
#include <sys/types.h>