updated for version 7.3.719
Problem: Cannot run new version of cproto, it fails on missing include
files.
Solution: Add lots of #ifndef PROTO
This commit is contained in:
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user