OSDN Git Service

Include stdio.h to get STDIO_PROTO correct.
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Feb 1994 18:40:02 +0000 (18:40 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Feb 1994 18:40:02 +0000 (18:40 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6546 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/halfpic.h

index 7e274d3..32b0108 100644 (file)
@@ -29,11 +29,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #endif
 
 #ifndef STDIO_PROTO
-#ifdef BUFSIZ
-#define STDIO_PROTO(ARGS) PROTO(ARGS)
-#else
-#define STDIO_PROTO(ARGS) ()
+#ifndef BUFSIZ
+#include <stdio.h>
 #endif
+
+#define STDIO_PROTO(ARGS) PROTO(ARGS)
 #endif
 
 #if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__)