add -Wundef, fix uncovered bugs

This commit is contained in:
Denis Vlasenko
2006-11-17 20:29:00 +00:00
parent 04c6386c45
commit a7189f01a4
19 changed files with 71 additions and 74 deletions

View File

@@ -26,7 +26,7 @@
#include <unistd.h>
#include <netinet/in.h>
#include <features.h>
#if (__GLIBC__ >= 2 && __GLIBC_MINOR >= 1) || defined _NEWLIB_VERSION
#if (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined(_NEWLIB_VERSION)
#include <netpacket/packet.h>
#include <net/ethernet.h>
#else