summaryrefslogtreecommitdiffstats
path: root/support/include/sockaddr.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/include/sockaddr.h')
-rw-r--r--support/include/sockaddr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/support/include/sockaddr.h b/support/include/sockaddr.h
index 72766db..a1c30f9 100644
--- a/support/include/sockaddr.h
+++ b/support/include/sockaddr.h
@@ -20,7 +20,13 @@
#ifndef NFS_UTILS_SOCKADDR_H
#define NFS_UTILS_SOCKADDR_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifdef HAVE_LIBIO_H
#include <libio.h>
+#endif
#include <stdbool.h>
#include <sys/socket.h>
#include <netinet/in.h>