Configure will not find <net/if.h> due to missing <sys/types.h> in the test program,
and thus, tun.c will fail to compile with missing symbol IFF_MULTICAST.
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: krzee <jeff@doeshosting.com>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
| ... | ... |
@@ -371,6 +371,9 @@ if test "${WIN32}" != "yes"; then
|
| 371 | 371 |
[#ifdef HAVE_SYS_SOCKET_H |
| 372 | 372 |
# include <sys/socket.h> |
| 373 | 373 |
#endif |
| 374 |
+ #ifdef HAVE_SYS_TYPES_H |
|
| 375 |
+ # include <sys/types.h> |
|
| 376 |
+ #endif |
|
| 374 | 377 |
]) |
| 375 | 378 |
AC_CHECK_HEADERS(netinet/ip.h,,, |
| 376 | 379 |
[#ifdef HAVE_SYS_TYPES_H |