diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-08-10 11:20:29 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-08-10 11:20:29 +0200 |
commit | bfe0583a1264e2b1467942ec33e1fa773d450d9b (patch) | |
tree | aa7347636eddb765fec8c8b7af11456f7ce209c2 /src/libpiano/response.c | |
parent | 3a196f51581ffca2d2a902e83a9b69ac4702316c (diff) | |
download | pianobar-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/libpiano/response.c')
-rw-r--r-- | src/libpiano/response.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libpiano/response.c b/src/libpiano/response.c index 542ef00..7f0cee0 100644 --- a/src/libpiano/response.c +++ b/src/libpiano/response.c @@ -21,10 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef __FreeBSD__ -#define _BSD_SOURCE /* required by strdup() */ -#define _DARWIN_C_SOURCE /* strdup() on OS X */ -#endif +#include "../config.h" #include <json.h> #include <string.h> |