summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--atari/osspec.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/atari/osspec.c b/atari/osspec.c
index 455c2842f..d697f43d9 100644
--- a/atari/osspec.c
+++ b/atari/osspec.c
@@ -1,4 +1,20 @@
-#define __USE_POSIX
+/*
+ * Copyright 2010 <ole@monochrom.net>
+ *
+ * This file is part of NetSurf, http://www.netsurf-browser.org/
+ *
+ * NetSurf is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * NetSurf is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
#include <sys/types.h>
#include <limits.h>
@@ -14,6 +30,10 @@
#include "utils/log.h"
#include "atari/osspec.h"
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
NS_ATARI_SYSINFO atari_sysinfo;
unsigned short _systype_v;