summaryrefslogtreecommitdiff
path: root/main.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 /main.c
parentbded25b2bafd98fce08b6cdcd6276b3dcf508cbc (diff)
OpenIndian b148 support (and perhaps other Solaris builds).
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index 2a4d220e..db8205fa 100644
--- a/main.c
+++ b/main.c
@@ -15,6 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <stdio.h>
#include <stdint.h>
#include <string.h>
@@ -26,7 +29,7 @@
#include <sys/prctl.h>
#endif
#ifndef __linux__
-#define _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 1
#endif
#include <limits.h>
#include <errno.h>
@@ -41,9 +44,6 @@
#ifdef __linux__
#include <execinfo.h>
#endif
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
#include <unistd.h>
#include "gettext.h"
#include "playlist.h"