openbsd-ports/devel/fossil/patches/patch-src_http_socket_c
sthen 51c1f7b105 update to fossil 1.21 (using new version number scheme), from maintainer
- while there, include headers in the correct order
(netinet/in.h should come before arpa/inet.h)
2011-12-16 11:32:22 +00:00

16 lines
427 B
Plaintext

$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>