]> code.delx.au - spectrwm/commitdiff
make osx compile again
authorMarco Peereboom <marco@conformal.com>
Thu, 16 Feb 2012 15:22:47 +0000 (09:22 -0600)
committerMarco Peereboom <marco@conformal.com>
Thu, 16 Feb 2012 15:22:47 +0000 (09:22 -0600)
osx/Makefile
spectrwm.c

index 2af7814a9522e0665bc07f34884fae3607b147f6..d04708753ce11470293278b672844e0effb94d20 100644 (file)
@@ -1,4 +1,4 @@
-CFLAGS+= -O2 -Wall -ggdb -D_GNU_SOURCE -D__OSX__ -I.
+CFLAGS+= -O2 -Wall -ggdb -D_GNU_SOURCE -D__OSX__ -I. -I..
 CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
 LDADD+=  -L/usr/X11/lib/ -lX11 -lXrandr -lXtst
 
index 6d62a5305f8b9bafe9c6ebabdb2703540b896b8f..4d4c12aabb1a77e13176f47d1a956fd176b99c7f 100644 (file)
@@ -83,7 +83,7 @@
 #elif defined(__FreeBSD__)
 #include <sys/tree.h>
 #else
-#include <sys/tree.h>
+#include "tree.h"
 #endif
 
 #include <X11/cursorfont.h>