summaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index a0a3110b286..1f55551a748 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -60,7 +60,7 @@ Boston, MA 02111-1307, USA. */
#include "system.h"
#include "intl.h"
-#if ! defined (_WIN32) || defined (__CYGWIN__)
+#if ! defined (_WIN32) || defined (__CYGWIN__) || defined (_UWIN)
#if defined(POSIX) || defined(CONCURRENT)
#include <dirent.h>
#else
@@ -145,7 +145,9 @@ extern int puts ();
#ifndef fputs /* This may have been #defined by "system.h". */
extern int fputs ();
#endif
+#ifndef fputc /* some systems define this as a macro. */
extern int fputc ();
+#endif
extern int unlink ();
extern int access ();