diff options
author | Josh Rickmar <jrick@devio.us> | 2012-08-09 22:32:11 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-08-09 22:32:11 -0400 |
commit | 7e79aab309ce4fa4a0d01f9d861e9fca4172efd7 (patch) | |
tree | 90cf32feea9a0acbcfffc36305cb3b9051479aa3 | |
parent | 84f8bf4d7762cd9fbd09f649b4234177802f937f (diff) | |
download | xombrero-7e79aab309ce4fa4a0d01f9d861e9fca4172efd7.tar.gz |
Reintroduce the FreeBSD fixes that were lost in the backouts.
-rw-r--r-- | freebsd/Makefile | 2 | ||||
-rw-r--r-- | xombrero.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/freebsd/Makefile b/freebsd/Makefile index 011354c..cf65ea8 100644 --- a/freebsd/Makefile +++ b/freebsd/Makefile @@ -9,7 +9,7 @@ LIBS+= libsoup-2.4 gnutls gthread-2.0 LDADD= -lutil -lgcrypt GTK_CFLAGS!= pkg-config --cflags $(LIBS) GTK_LDFLAGS!= pkg-config --libs $(LIBS) -CFLAGS+= $(GTK_CFLAGS) -O2 -Wall -pthread +CFLAGS+= $(GTK_CFLAGS) -O2 -Wall -pthread -I. -I.. LDFLAGS+= $(GTK_LDFLAGS) -pthread PREFIX?= /usr/local diff --git a/xombrero.h b/xombrero.h index d5da4d9..64ac54a 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> |