about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-08-09 13:13:52 -0400
committerJosh Rickmar <jrick@devio.us>2012-08-09 13:13:52 -0400
commitcf589a1ebf416f9845b7090560391e0a7476303b (patch)
treea890a2d7fccec1c60e816cfd6980a576c0036b1a
parenta6664259fb1c2843fa3d966c5eaaaff6f6ab2cc6 (diff)
downloadxombrero-cf589a1ebf416f9845b7090560391e0a7476303b.tar.gz
Make sure LOGIN_NAME_MAX is defined properly for FreeBSD
-rw-r--r--xombrero.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xombrero.h b/xombrero.h
index eb4e6e3..20efb34 100644
--- a/xombrero.h
+++ b/xombrero.h
@@ -48,6 +48,8 @@ u_int32_t	arc4random_uniform(u_int32_t);
 #include <sys/tree.h>
 #include <X11/Xlib.h>
 #include <sys/un.h>
+#include <sys/param.h>
+#define LOGIN_NAME_MAX MAXLOGNAME
 #elif defined(__OpenBSD__)
 #include <util.h>
 #include <sys/tree.h>