projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add mac os x compat #define for in6_addr s6_addr32
[project/netifd.git]
/
utils.h
diff --git
a/utils.h
b/utils.h
index
174e825
..
e159b42
100644
(file)
--- a/
utils.h
+++ b/
utils.h
@@
-106,4
+106,8
@@
int parse_ip_and_netmask(int af, const char *str, void *addr, unsigned int *netm
char * format_macaddr(uint8_t *mac);
+#ifdef __APPLE__
+#define s6_addr32 __u6_addr.__u6_addr32
+#endif
+
#endif