Fix xdemos build on FreeBSD: <sys/types.h> before <netinet/tcp.h>
authorEric Anholt <eric@anholt.net>
Fri, 21 Mar 2008 00:19:07 +0000 (17:19 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 21 Mar 2008 21:19:30 +0000 (14:19 -0700)
progs/xdemos/ipc.c

index fa52b09076853dd081318f534818ff3bd203db02..c872d1641ab2e82f70b78aceee2527bd6541315f 100644 (file)
 #include <assert.h>
 #include <stdio.h>
 #include <string.h>
+#include <sys/types.h>
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 #include <arpa/inet.h>
 #include <netdb.h>
 #include <unistd.h>
-#include <sys/types.h>
 #include <sys/socket.h>
 #include "ipc.h"