diff options
| author | Richard M. Stallman | 1995-04-10 08:04:27 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-04-10 08:04:27 +0000 |
| commit | ee0a8e7485eb0e820c22737423f3c354bed51dfc (patch) | |
| tree | 8af2315a089043e846ce5b3d5bd5a647354bcd9d /src | |
| parent | 4455f41c28f5b6465c15047e85966d0c308158c5 (diff) | |
| download | emacs-ee0a8e7485eb0e820c22737423f3c354bed51dfc.tar.gz emacs-ee0a8e7485eb0e820c22737423f3c354bed51dfc.zip | |
Include alloca.h, string.h. Test NOT_C_CODE.
(xmalloc, xrealloc): Declare them.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/osf1.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/s/osf1.h b/src/s/osf1.h index 6f28e199646..bf6fb02f027 100644 --- a/src/s/osf1.h +++ b/src/s/osf1.h | |||
| @@ -24,6 +24,12 @@ | |||
| 24 | /* Declare malloc and realloc in a way that is clean. | 24 | /* Declare malloc and realloc in a way that is clean. |
| 25 | But not in makefiles! */ | 25 | But not in makefiles! */ |
| 26 | 26 | ||
| 27 | #ifndef NOT_C_CODE | ||
| 27 | #ifndef THIS_IS_YMAKEFILE | 28 | #ifndef THIS_IS_YMAKEFILE |
| 29 | /* We need these because pointers are larger than the default ints. */ | ||
| 30 | #include <alloca.h> | ||
| 31 | #include <string.h> | ||
| 28 | extern void *malloc (), *realloc (); | 32 | extern void *malloc (), *realloc (); |
| 33 | extern long *xmalloc (), *xrealloc (); | ||
| 34 | #endif | ||
| 29 | #endif | 35 | #endif |