diff options
author | Josh Rickmar <jrick@devio.us> | 2012-08-09 13:13:52 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-08-09 13:13:52 -0400 |
commit | cf589a1ebf416f9845b7090560391e0a7476303b (patch) | |
tree | a890a2d7fccec1c60e816cfd6980a576c0036b1a | |
parent | a6664259fb1c2843fa3d966c5eaaaff6f6ab2cc6 (diff) | |
download | xombrero-cf589a1ebf416f9845b7090560391e0a7476303b.tar.gz |
Make sure LOGIN_NAME_MAX is defined properly for FreeBSD
-rw-r--r-- | xombrero.h | 2 |
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> |