summaryrefslogtreecommitdiff
path: root/atari
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2014-02-03 18:50:06 +0000
committerVincent Sanders <vince@netsurf-browser.org>2014-02-03 18:50:06 +0000
commitdc33cb1418c5e573d4f4325ae15cfab9eec0a140 (patch)
treeb66fbc1546ba06a2b9f09ca30bb948df9b47c649 /atari
parent8d9e8791d9f9bb693b219af8232085abccbeeda0 (diff)
downloadnetsurf-dc33cb1418c5e573d4f4325ae15cfab9eec0a140.tar.gz
netsurf-dc33cb1418c5e573d4f4325ae15cfab9eec0a140.tar.bz2
atari fix for undefined PATH_MAX
Diffstat (limited to 'atari')
-rw-r--r--atari/hotlist.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/atari/hotlist.h b/atari/hotlist.h
index d8fc2a6b6..52598f27a 100644
--- a/atari/hotlist.h
+++ b/atari/hotlist.h
@@ -20,14 +20,15 @@
#define NS_ATARI_HOTLIST_H
#include <stdbool.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <limits.h>
#include "desktop/tree.h"
#include "atari/gemtk/gemtk.h"
#include "atari/treeview.h"
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
/* The hotlist window, toolbar and treeview data. */
struct atari_hotlist {