summaryrefslogtreecommitdiffstats
path: root/src/include/foreachaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/foreachaddr.c')
-rw-r--r--src/include/foreachaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/foreachaddr.c b/src/include/foreachaddr.c
index 3c3adad52..101f8efca 100644
--- a/src/include/foreachaddr.c
+++ b/src/include/foreachaddr.c
@@ -108,7 +108,7 @@ foreach_localaddr (/*@null@*/ void *data,
#define LINUX_IPV6_HACK
#endif
-extern int errno;
+#include <errno.h>
/*
* Return all the protocol addresses of this host.