diff --git a/Makefile b/Makefile index 7b6f2ab..43fcfd4 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ CXXFLAGS := -std=c++11 -O3 \ -Wconversion \ -Wunused-macros \ -Wwrite-strings \ + -D_POSIX_C_SOURCE=200809L \ -DTERMITE_VERSION=\"${VERSION}\" \ ${shell pkg-config --cflags ${GTK} ${VTE}} \ ${CXXFLAGS} diff --git a/termite.cc b/termite.cc index 03a803d..7df3752 100644 --- a/termite.cc +++ b/termite.cc @@ -1,5 +1,3 @@ -#define _POSIX_C_SOURCE 200809L - #include #include #include