diff options
Diffstat (limited to 'networking/udhcp/packet.c')
-rw-r--r-- | networking/udhcp/packet.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c index ecdbec7f3..1bfe12041 100644 --- a/networking/udhcp/packet.c +++ b/networking/udhcp/packet.c | |||
@@ -1,18 +1,19 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * packet.c -- packet ops | 3 | * Packet ops |
4 | * | ||
4 | * Rewrite by Russ Dill <Russ.Dill@asu.edu> July 2001 | 5 | * Rewrite by Russ Dill <Russ.Dill@asu.edu> July 2001 |
5 | * | 6 | * |
6 | * Licensed under GPLv2, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2, see file LICENSE in this tarball for details. |
7 | */ | 8 | */ |
8 | #include <netinet/in.h> | 9 | #include <netinet/in.h> |
9 | #if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION | 10 | #if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION |
10 | #include <netpacket/packet.h> | 11 | # include <netpacket/packet.h> |
11 | #include <net/ethernet.h> | 12 | # include <net/ethernet.h> |
12 | #else | 13 | #else |
13 | #include <asm/types.h> | 14 | # include <asm/types.h> |
14 | #include <linux/if_packet.h> | 15 | # include <linux/if_packet.h> |
15 | #include <linux/if_ether.h> | 16 | # include <linux/if_ether.h> |
16 | #endif | 17 | #endif |
17 | 18 | ||
18 | #include "common.h" | 19 | #include "common.h" |