aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-21 02:37:57 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-21 02:38:34 +0200
commit78b0868302aafc2c7a6752ab72e7b888bdc77d12 (patch)
treed2d4d13627c60a3531719d4ab0fb5ceb58f69075
parente391996947f9aa2b42377c4b797eda7db4f78c5c (diff)
macaddr: add #include unistd.h for close() function
this fixes a compile warning
-rw-r--r--src/macaddr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macaddr.c b/src/macaddr.c
index 8b78cb6f..392ee13f 100644
--- a/src/macaddr.c
+++ b/src/macaddr.c
@@ -1,6 +1,7 @@
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
+#include <unistd.h>
int osmo_macaddr_parse(uint8_t *out, const char *in)