A bunch of defined(__GLIBC__) added. static-linking warning expanded

This commit is contained in:
Denis Vlasenko
2006-12-18 21:49:06 +00:00
parent f42ff90453
commit 83e5d6f772
13 changed files with 14 additions and 24 deletions

View File

@ -29,7 +29,7 @@
#include <net/if.h>
#include <net/if_arp.h>
#include <netinet/in.h>
#if __GLIBC__ >=2 && __GLIBC_MINOR__ >= 1
#if defined(__GLIBC__) && __GLIBC__ >=2 && __GLIBC_MINOR__ >= 1
#include <netpacket/packet.h>
#include <net/ethernet.h>
#else