summaryrefslogtreecommitdiff
path: root/libc/inet/ether_addr.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-10 03:47:08 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-10 03:47:08 +0000
commit18689d59bbbb606d71ecbabc413cdca1bf64b297 (patch)
tree563395dcd1f74ee1f68230a6c30c1cd42316ed3b /libc/inet/ether_addr.c
parentacf6afe5fdeed2c6e884ee205330640cc64b3265 (diff)
Fix warnings
Diffstat (limited to 'libc/inet/ether_addr.c')
-rw-r--r--libc/inet/ether_addr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/inet/ether_addr.c b/libc/inet/ether_addr.c
index 172bf9f81..a0e9dc88f 100644
--- a/libc/inet/ether_addr.c
+++ b/libc/inet/ether_addr.c
@@ -15,13 +15,14 @@
*/
+#define __FORCE_GLIBC
+#include <features.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <netinet/ether.h>
#include <netinet/if_ether.h>
-#define __FORCE_GLIBC
struct ether_addr *ether_aton(const char *asc)
{
static struct ether_addr result;