Fix include order; fixes build on OpenBSD.

This commit is contained in:
Jasper Lievisse Adriaanse 2012-04-26 19:50:17 +02:00 committed by Michael Stapelberg
parent af32603373
commit 6eac8bee58
2 changed files with 8 additions and 5 deletions

View File

@ -1,7 +1,8 @@
// vim:ts=8:expandtab
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

View File

@ -1,13 +1,15 @@
// vim:ts=8:expandtab
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdbool.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <string.h>
#include <arpa/inet.h>
#include <yajl/yajl_gen.h>
#include <yajl/yajl_version.h>