From 9d6c51053ec466b286b40f1852b207ea81fffdbb Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Sun, 22 Apr 2012 11:07:56 -0600 Subject: move _POSIX_SOURCE define into Makefile for consistency --- Makefile | 2 +- src/io.c | 2 -- src/util.c | 2 -- src/uzbl-core.h | 2 -- 4 files changed, 1 insertion(+), 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 #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 #include #include 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 #include #include -- cgit v1.2.3