commit | 78b0868302aafc2c7a6752ab72e7b888bdc77d12 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Thu Aug 21 02:37:57 2014 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Thu Aug 21 02:38:34 2014 +0200 |
tree | d2d4d13627c60a3531719d4ab0fb5ceb58f69075 | |
parent | e391996947f9aa2b42377c4b797eda7db4f78c5c [diff] [blame] |
macaddr: add #include unistd.h for close() function this fixes a compile warning
diff --git a/src/macaddr.c b/src/macaddr.c index 8b78cb6..392ee13 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)