Reversed the check for udp.h, fixes compilation on Linux.

This commit is contained in:
Tobias Brunner
2009-08-06 10:01:59 +02:00
parent 994b80b513
commit 1e7b4b0028
2 changed files with 5 additions and 5 deletions
@@ -37,11 +37,11 @@
#endif
#ifdef HAVE_NATT
#ifdef HAVE_NETINET_UDP_H
#include <netinet/udp.h>
#else
#ifdef HAVE_LINUX_UDP_H
#include <linux/udp.h>
#endif /*HAVE_NETINET_UDP_H*/
#else
#include <netinet/udp.h>
#endif /*HAVE_LINUX_UDP_H*/
#endif /*HAVE_NATT*/
#include <unistd.h>