summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-08-20 10:12:06 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-08-20 10:12:06 +0000
commit06428bae51dc2c95f3c162684afd50c72a42e751 (patch)
treec2e940512da73e50e45868a995427cc15f7cf818 /mdk-stage1
parentec8ecb1cb891c8d5ef18c3b4ea5ecafabb08ab29 (diff)
downloaddrakx-06428bae51dc2c95f3c162684afd50c72a42e751.tar
drakx-06428bae51dc2c95f3c162684afd50c72a42e751.tar.gz
drakx-06428bae51dc2c95f3c162684afd50c72a42e751.tar.bz2
drakx-06428bae51dc2c95f3c162684afd50c72a42e751.tar.xz
drakx-06428bae51dc2c95f3c162684afd50c72a42e751.zip
Use <net/if_arp.h> thusly bypassing need for <linux/byteorder/generic.h>
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/ppp/pppd/sys-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/ppp/pppd/sys-linux.c b/mdk-stage1/ppp/pppd/sys-linux.c
index d341bb3de..3ab92dfba 100644
--- a/mdk-stage1/ppp/pppd/sys-linux.c
+++ b/mdk-stage1/ppp/pppd/sys-linux.c
@@ -51,7 +51,7 @@
#define MAX_ADDR_LEN 7
#endif
-#if __GLIBC__ >= 2
+#if (defined(__GLIBC__) && __GLIBC__ >= 2) || defined(__dietlibc__)
#include <asm/types.h> /* glibc 2 conflicts with linux/types.h */
#include <net/if.h>
#include <net/if_arp.h>