diff options
Diffstat (limited to 'libbb/interface.c')
-rw-r--r-- | libbb/interface.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libbb/interface.c b/libbb/interface.c index fb3a42a0c..46c3ba96c 100644 --- a/libbb/interface.c +++ b/libbb/interface.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * that either displays or sets the characteristics of | 15 | * that either displays or sets the characteristics of |
16 | * one or more of the system's networking interfaces. | 16 | * one or more of the system's networking interfaces. |
17 | * | 17 | * |
18 | * Version: $Id: interface.c,v 1.16 2003/07/14 21:20:55 andersen Exp $ | 18 | * Version: $Id: interface.c,v 1.17 2003/07/22 08:56:46 andersen Exp $ |
19 | * | 19 | * |
20 | * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> | 20 | * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> |
21 | * and others. Copyright 1993 MicroWalt Corporation | 21 | * and others. Copyright 1993 MicroWalt Corporation |
@@ -76,6 +76,7 @@ | |||
76 | #include <fcntl.h> | 76 | #include <fcntl.h> |
77 | #include <ctype.h> | 77 | #include <ctype.h> |
78 | #include <sys/ioctl.h> | 78 | #include <sys/ioctl.h> |
79 | #include <sys/types.h> | ||
79 | #include <net/if.h> | 80 | #include <net/if.h> |
80 | #include <net/if_arp.h> | 81 | #include <net/if_arp.h> |
81 | #include "libbb.h" | 82 | #include "libbb.h" |
@@ -88,10 +89,6 @@ | |||
88 | 89 | ||
89 | static int procnetdev_vsn = 1; | 90 | static int procnetdev_vsn = 1; |
90 | 91 | ||
91 | /* Ugh. But libc5 doesn't provide POSIX types. */ | ||
92 | #include <asm/types.h> | ||
93 | |||
94 | |||
95 | #ifdef HAVE_HWSLIP | 92 | #ifdef HAVE_HWSLIP |
96 | #include <net/if_slip.h> | 93 | #include <net/if_slip.h> |
97 | #endif | 94 | #endif |