Merge branch 'master' into 1.1
[tinc] / have.h
diff --git a/have.h b/have.h
index 92914ea..89454fe 100644 (file)
--- a/have.h
+++ b/have.h
 #include <sys/un.h>
 #endif
 
+#ifdef HAVE_DIRENT_H
+#include <dirent.h>
+#endif
+
 /* SunOS really wants sys/socket.h BEFORE net/if.h,
    and FreeBSD wants these lines below the rest. */