diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-25 06:04:58 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-25 06:04:58 +0000 |
| commit | a1acfc8f37130fd6c251f0e6f6cd3d7cb45919ff (patch) | |
| tree | d8e55cf38e3a423417655534c2283cc5461b87cf | |
| parent | 0c3b0d501e7f42f679add3ad28a20e1281c77475 (diff) | |
| download | busybox-w32-a1acfc8f37130fd6c251f0e6f6cd3d7cb45919ff.tar.gz busybox-w32-a1acfc8f37130fd6c251f0e6f6cd3d7cb45919ff.tar.bz2 busybox-w32-a1acfc8f37130fd6c251f0e6f6cd3d7cb45919ff.zip | |
udhcp: build fix for ppc kernel 2.4.36
| -rw-r--r-- | networking/udhcp/clientsocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/clientsocket.c b/networking/udhcp/clientsocket.c index 0be661d4f..114200192 100644 --- a/networking/udhcp/clientsocket.c +++ b/networking/udhcp/clientsocket.c | |||
| @@ -22,11 +22,11 @@ | |||
| 22 | */ | 22 | */ |
| 23 | 23 | ||
| 24 | #include <features.h> | 24 | #include <features.h> |
| 25 | #include <asm/types.h> | ||
| 25 | #if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined(_NEWLIB_VERSION) | 26 | #if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined(_NEWLIB_VERSION) |
| 26 | #include <netpacket/packet.h> | 27 | #include <netpacket/packet.h> |
| 27 | #include <net/ethernet.h> | 28 | #include <net/ethernet.h> |
| 28 | #else | 29 | #else |
| 29 | #include <asm/types.h> | ||
| 30 | #include <linux/if_packet.h> | 30 | #include <linux/if_packet.h> |
| 31 | #include <linux/if_ether.h> | 31 | #include <linux/if_ether.h> |
| 32 | #endif | 32 | #endif |
