summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
authorGravatar Kevin van der Vlist <kevin@kevinvandervlist.nl>2011-06-07 23:13:58 +0200
committerGravatar waker <wakeroid@gmail.com>2011-06-12 13:44:51 +0200
commit1eed84099a8ea6b7bec9167f19d865ab52d6695f (patch)
tree75d4bc6edd4de29bfa2cbe70fa7121527056850e /playlist.c
parentbded25b2bafd98fce08b6cdcd6276b3dcf508cbc (diff)
OpenIndian b148 support (and perhaps other Solaris builds).
Diffstat (limited to 'playlist.c')
-rw-r--r--playlist.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/playlist.c b/playlist.c
index 390cd133..9aee5540 100644
--- a/playlist.c
+++ b/playlist.c
@@ -18,6 +18,9 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#ifdef HAVE_ALLOCA_H
+# include <alloca.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
@@ -31,7 +34,7 @@
#include <time.h>
#include <sys/time.h>
#ifndef __linux__
-#define _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 1
#endif
#include <limits.h>
#include <errno.h>