summaryrefslogtreecommitdiff
path: root/src/ui_act.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-08-10 11:20:29 +0200
committerLars-Dominik Braun <lars@6xq.net>2015-08-10 11:20:29 +0200
commitbfe0583a1264e2b1467942ec33e1fa773d450d9b (patch)
treeaa7347636eddb765fec8c8b7af11456f7ce209c2 /src/ui_act.c
parent3a196f51581ffca2d2a902e83a9b69ac4702316c (diff)
downloadpianobar-bfe0583a1264e2b1467942ec33e1fa773d450d9b.tar.gz
pianobar-bfe0583a1264e2b1467942ec33e1fa773d450d9b.tar.bz2
pianobar-bfe0583a1264e2b1467942ec33e1fa773d450d9b.zip
Move feature test macros to config.h
I removed most of the *BSD-related stuff, because I can’t test these. If this breaks your build, send me a patch please.
Diffstat (limited to 'src/ui_act.c')
-rw-r--r--src/ui_act.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui_act.c b/src/ui_act.c
index 2555367..e8452e6 100644
--- a/src/ui_act.c
+++ b/src/ui_act.c
@@ -23,7 +23,7 @@ THE SOFTWARE.
/* functions responding to user's keystrokes */
-#define _BSD_SOURCE
+#include "config.h"
#include <string.h>
#include <unistd.h>