projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
579dbd0
)
Build in C99 mode
author
Maximilian Gaß
<mxey@ghosthacking.net>
Sat, 6 Jun 2009 18:35:09 +0000
(20:35 +0200)
committer
Maximilian Gaß
<mxey@ghosthacking.net>
Sat, 6 Jun 2009 18:35:09 +0000
(20:35 +0200)
Makefile
patch
|
blob
|
history
uzbl.c
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
e650c29
..
4c3a483
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+1,4
@@
-CFLAGS:=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -ggdb -Wall -W -DARCH="\"$(shell uname -m)\"" -DG_ERRORCHECK_MUTEXES -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" $(CPPFLAGS)
+CFLAGS:=-std=c99 $(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -ggdb -Wall -W -DARCH="\"$(shell uname -m)\"" -DG_ERRORCHECK_MUTEXES -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" $(CPPFLAGS)
LDFLAGS:=$(shell pkg-config --libs gtk+-2.0 webkit-1.0) $(LDFLAGS)
all: uzbl uzblctrl
diff --git
a/uzbl.c
b/uzbl.c
index
bd54c7d
..
ddaadf7
100644
(file)
--- a/
uzbl.c
+++ b/
uzbl.c
@@
-32,6
+32,7
@@
#define LENGTH(x) (sizeof x / sizeof x[0])
#define MAX_BINDINGS 256
+#define _POSIX_SOURCE
#include <gtk/gtk.h>
#include <gdk/gdkx.h>