From 4ca58fe44e798d3ede85dac539c8d466c2a549f2 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Thu, 16 Feb 2012 09:22:47 -0600 Subject: [PATCH] make osx compile again --- osx/Makefile | 2 +- spectrwm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.10.4