aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--src/io.c2
-rw-r--r--src/util.c2
-rw-r--r--src/uzbl-core.h2
4 files changed, 1 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index eef6ff7..1df667b 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ ARCH:=$(shell uname -m)
COMMIT_HASH:=$(shell ./misc/hash.sh)
-CPPFLAGS += -D_BSD_SOURCE -DARCH=\"$(ARCH)\" -DCOMMIT=\"$(COMMIT_HASH)\"
+CPPFLAGS += -D_BSD_SOURCE -D_POSIX_SOURCE -DARCH=\"$(ARCH)\" -DCOMMIT=\"$(COMMIT_HASH)\"
PKG_CFLAGS:=$(shell pkg-config --cflags $(REQ_PKGS))
diff --git a/src/io.c b/src/io.c
index b81b814..ff418ef 100644
--- a/src/io.c
+++ b/src/io.c
@@ -1,5 +1,3 @@
-#define _POSIX_SOURCE
-
#include <stdio.h>
#include "events.h"
diff --git a/src/util.c b/src/util.c
index eab176a..6a5806e 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1,5 +1,3 @@
-#define _POSIX_SOURCE
-
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
diff --git a/src/uzbl-core.h b/src/uzbl-core.h
index 84ccfa0..1f9613e 100644
--- a/src/uzbl-core.h
+++ b/src/uzbl-core.h
@@ -13,8 +13,6 @@
#ifndef __UZBL_CORE__
#define __UZBL_CORE__
-#define _POSIX_SOURCE
-
#include <glib/gstdio.h>
#include <gtk/gtk.h>
#include <gdk/gdkx.h>