commit 71884fe9346479f71ac04003f34f88cf3f7c7c6b
parent 5d4e0266c0e0d89e4cc357eb5b694c8924dd4b20
Author: Kris Maglione <jg@suckless.org>
Date: Wed, 28 Jan 2009 18:35:53 -0500
Fix (hopefully) building on Darwin.
Diffstat:
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/cmd/menu/dat.h b/cmd/menu/dat.h
@@ -4,6 +4,7 @@
#include <stdarg.h>
#include <stdbool.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <util.h>
#include <ixp.h>
diff --git a/cmd/menu/main.c b/cmd/menu/main.c
@@ -7,7 +7,6 @@
#include "dat.h"
#include <X11/Xproto.h>
#include <locale.h>
-#include <string.h>
#include <strings.h>
#include <bio.h>
#include "fns.h"
diff --git a/cmd/wmii/Makefile b/cmd/wmii/Makefile
@@ -8,7 +8,7 @@ TARG = wmii
HFILES= dat.h fns.h
LIB = $(LIBIXP)
-LDFLAGS += -lm $(LIBX11) -lXext -lXrandr -lXinerama \
+LDFLAGS += -lm $(LIBX11) -lXext -lXrandr -lXrender -lXinerama \
$(LIBICONV) -lregexp9 -lbio -lfmt -lutf
CFLAGS += $(INCX11) $(INCICONV) -DVERSION=\"$(VERSION)\" \
diff --git a/cmd/wmii/main.c b/cmd/wmii/main.c
@@ -10,7 +10,7 @@
#include <fcntl.h>
#include <locale.h>
#include <pwd.h>
-#include <signal.h>
+#include <sys/signal.h>
#include <sys/stat.h>
#include <unistd.h>
#include "fns.h"
diff --git a/cmd/wmii/view.c b/cmd/wmii/view.c
@@ -111,9 +111,9 @@ view_init(View *v, int iscreen) {
void
view_destroy(View *v) {
View **vp;
- Frame *f, *fn;
+ Frame *f;
View *tv;
- Area *a, *an;
+ Area *a;
int s;
if(v->dead)