openbsd-ports/misc/memcached/patches/patch-testapp_c

23 lines
541 B
Plaintext

$OpenBSD: patch-testapp_c,v 1.3 2010/07/30 15:28:14 naddy Exp $
--- testapp.c.orig Fri Jul 30 17:24:26 2010
+++ testapp.c Fri Jul 30 17:25:17 2010
@@ -5,9 +5,9 @@
#include <sys/socket.h>
#include <sys/wait.h>
#include <netdb.h>
-#include <arpa/inet.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
+#include <arpa/inet.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
@@ -15,7 +15,6 @@
#include <assert.h>
#include <string.h>
#include <unistd.h>
-#include <netinet/in.h>
#include <fcntl.h>
#include "config.h"