From: Marco Peereboom Date: Thu, 16 Feb 2012 15:22:47 +0000 (-0600) Subject: make osx compile again X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=4ca58fe44e798d3ede85dac539c8d466c2a549f2;p=spectrwm.git make osx compile again --- diff --git a/osx/Makefile b/osx/Makefile index 2af7814..d047087 100644 --- a/osx/Makefile +++ b/osx/Makefile @@ -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 diff --git a/spectrwm.c b/spectrwm.c index 6d62a53..4d4c12a 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -83,7 +83,7 @@ #elif defined(__FreeBSD__) #include #else -#include +#include "tree.h" #endif #include