about summary refs log tree commit diff stats
path: root/xombrero.h
diff options
context:
space:
mode:
Diffstat (limited to 'xombrero.h')
-rw-r--r--xombrero.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/xombrero.h b/xombrero.h
index 9365f73..7e97d88 100644
--- a/xombrero.h
+++ b/xombrero.h
@@ -53,12 +53,18 @@ u_int32_t	arc4random_uniform(u_int32_t);
 #elif defined(__DragonFly__)
 #include <sys/param.h>
 #include <sys/un.h>
-#include <sys/param.h>
 #include <libutil.h>
 #include "dragonfly/util.h"
 #include <sys/tree.h>
 #include <X11/Xlib.h>
 #define LOGIN_NAME_MAX MAXLOGNAME
+#elif defined(__NetBSD__)
+#include <sys/param.h>
+#include <sys/un.h>
+#include "netbsd/util.h"
+#include <sys/tree.h>
+#include <X11/Xlib.h>
+#define LOGIN_NAME_MAX_MAXLOGNAME
 #elif defined(__OpenBSD__)
 #include <util.h>
 #include <sys/tree.h>