summaryrefslogtreecommitdiffstats
path: root/source/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/replace/system/network.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/lib/replace/system/network.h b/source/lib/replace/system/network.h
index 70c3ec711c6..1b442dd602d 100644
--- a/source/lib/replace/system/network.h
+++ b/source/lib/replace/system/network.h
@@ -118,4 +118,8 @@ char *rep_inet_ntoa(struct in_addr ip);
#define INET6_ADDRSTRLEN 46
#endif
+#ifndef HAVE_SA_FAMILY_T
+typedef unsigned short int sa_family_t;
+#endif
+
#endif