miniupnpd/pcpserver.c: fix defines

with OpenBSD,  <netinet/in.h> must be included before <arpa/inet.h>
This commit is contained in:
Thomas Bernard 2014-02-28 20:26:02 +01:00
parent 7f3fbccbeb
commit 9c7df04b13
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $Id: pcpserver.c,v 1.9 2014/02/11 09:35:53 nanard Exp $ */
/* $Id: pcpserver.c,v 1.12 2014/02/28 17:50:22 nanard Exp $ */
/* MiniUPnP project
* Website : http://miniupnp.free.fr/
* Author : Peter Tatrai
@ -43,6 +43,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <time.h>