summaryrefslogtreecommitdiff
path: root/src/os_amiga.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_amiga.h')
-rw-r--r--src/os_amiga.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/os_amiga.h b/src/os_amiga.h
index 0395bceb6..69a1523e4 100644
--- a/src/os_amiga.h
+++ b/src/os_amiga.h
@@ -56,6 +56,9 @@
# define TEMPNAMELEN 12
#endif
+/* cproto fails on missing include files */
+#ifndef PROTO
+
#include <exec/types.h>
#include <libraries/dos.h>
#include <libraries/dosextens.h>
@@ -67,6 +70,8 @@
# include <proto/intuition.h>
#endif
+#endif /* PROTO */
+
#define FNAME_ILLEGAL ";*?`#%" /* illegal characters in a file name */
/*
@@ -85,6 +90,7 @@ typedef long off_t;
# include <unistd.h>
#endif
+#ifndef PROTO
/*
* arpbase.h must be included before functions.h
*/
@@ -92,6 +98,8 @@ typedef long off_t;
# include <libraries/arpbase.h>
#endif
+#endif /* PROTO */
+
/*
* This won't be needed if you have a version of Lattice 4.01 without broken
* break signal handling.