(__builtin_vec_new): #undef NULL before including stdio.h.

(pyramid __enable_execute_stack): Ditto.

From-SVN: r2668
This commit is contained in:
Richard Stallman 1992-10-31 21:26:20 +00:00
parent dd08cddad5
commit 98126ed6a4
1 changed files with 2 additions and 0 deletions

View File

@ -1226,6 +1226,7 @@ __builtin_new (sz)
#ifdef L_caps_New
/* This gets us __GNU_LIBRARY__. */
#undef NULL /* Avoid errors if stdio.h and our stddef.h mismatch. */
#include <stdio.h>
#ifdef __GNU_LIBRARY__
@ -1499,6 +1500,7 @@ __enable_execute_stack ()
#ifdef __pyr__
#undef NULL /* Avoid errors if stdio.h and our stddef.h mismatch. */
#include <stdio.h>
#include <sys/mman.h>
#include <sys/types.h>