summaryrefslogtreecommitdiffstats
path: root/polyp/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/util.c')
-rw-r--r--polyp/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/polyp/util.c b/polyp/util.c
index 9e8dc5e2..67eaeda1 100644
--- a/polyp/util.c
+++ b/polyp/util.c
@@ -41,7 +41,10 @@
#include <sys/resource.h>
#include <limits.h>
#include <unistd.h>
+
+#ifdef HAVE_NETDB_H
#include <netdb.h>
+#endif
#include <samplerate.h>