summaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-02-21 18:57:15 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-02-21 18:57:15 -0500
commitd4bb0623b4b02d30c1578bffc44de1c78cf28fc7 (patch)
tree951de2b565110568359916402901362bff969b28 /gcc/protoize.c
parent38d68645061754e8123b3bbb369e15a043143b42 (diff)
downloadgcc-d4bb0623b4b02d30c1578bffc44de1c78cf28fc7.tar.gz
Added #ifdef's WINNT.
From-SVN: r9018
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index 823afcdcbff..45422998d41 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -1,4 +1,4 @@
-/* Protoize program - Original version by Ron Guilmette at MCC.
+/* Protoize program - Original version by Ron Guilmette (rfg@segfault.us.com).
Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -64,11 +64,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
+#ifndef WINNT
#if defined(POSIX) || defined(CONCURRENT)
#include <dirent.h>
#else
#include <sys/dir.h>
#endif
+#endif
#include <setjmp.h>
/* Include getopt.h for the sake of getopt_long.
@@ -158,7 +160,9 @@ typedef char * const_pointer_type;
typedef void voidfn ();
extern VOLATILE voidfn abort;
#endif
+#ifndef WINNT
extern int kill ();
+#endif
extern int creat ();
#if 0 /* These conflict with stdio.h on some systems. */
extern int fprintf (FILE *, const char *, ...);