diff options
Diffstat (limited to 'src/lib/libc/net/if_nameindex.c')
-rw-r--r-- | src/lib/libc/net/if_nameindex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libc/net/if_nameindex.c b/src/lib/libc/net/if_nameindex.c index 8643397db2..9e4a71faa9 100644 --- a/src/lib/libc/net/if_nameindex.c +++ b/src/lib/libc/net/if_nameindex.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include <net/if.h> | 38 | #include <net/if.h> |
39 | #include <net/if_dl.h> | 39 | #include <net/if_dl.h> |
40 | #include <errno.h> | 40 | #include <errno.h> |
41 | #include <unistd.h> | ||
41 | #include <string.h> | 42 | #include <string.h> |
42 | 43 | ||
43 | struct if_nameindex * | 44 | struct if_nameindex * |
@@ -48,7 +49,6 @@ if_nameindex(void) | |||
48 | struct ifconf ifconf; | 49 | struct ifconf ifconf; |
49 | char lastname[IFNAMSIZ], *c, *inbuf; | 50 | char lastname[IFNAMSIZ], *c, *inbuf; |
50 | struct if_nameindex *n; | 51 | struct if_nameindex *n; |
51 | struct sockaddr_dl *sd; | ||
52 | struct sockaddr *sa; | 52 | struct sockaddr *sa; |
53 | void *p; | 53 | void *p; |
54 | 54 | ||