miniupnpc/addr_is_reserved.c: include sys/types.h

This commit is contained in:
Thomas Bernard 2020-10-16 00:24:40 +02:00
parent 138b4ff3aa
commit bd71e2e279
No known key found for this signature in database
GPG Key ID: DB511043A31ACAAF
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $Id: $ */ /* $Id: addr_is_reserved.c,v 1.2 2020/10/15 22:16:13 nanard Exp $ */
/* vim: tabstop=4 shiftwidth=4 noexpandtab /* vim: tabstop=4 shiftwidth=4 noexpandtab
* Project : miniupnp * Project : miniupnp
* Web : http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/ * Web : http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
@ -16,6 +16,7 @@
typedef unsigned long uint32_t; typedef unsigned long uint32_t;
#endif /* !defined(_MSC_VER) */ #endif /* !defined(_MSC_VER) */
#else /* _WIN32 */ #else /* _WIN32 */
#include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>