diff options
author | Kevin van der Vlist <kevin@kevinvandervlist.nl> | 2011-06-07 23:13:58 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-06-12 13:44:51 +0200 |
commit | 1eed84099a8ea6b7bec9167f19d865ab52d6695f (patch) | |
tree | 75d4bc6edd4de29bfa2cbe70fa7121527056850e /main.c | |
parent | bded25b2bafd98fce08b6cdcd6276b3dcf508cbc (diff) |
OpenIndian b148 support (and perhaps other Solaris builds).
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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" |