26 |
|
|
27 |
#include <assert.h> |
#include <assert.h> |
28 |
|
|
|
#ifdef MSDOS |
|
|
# include <io.h> |
|
|
#endif |
|
|
|
|
|
#ifdef _MSC_VER |
|
|
# include <stdlib.h> |
|
|
# include <process.h> |
|
|
# define getpid _getpid |
|
|
#endif |
|
|
|
|
29 |
#if HAVE_STDLIB_H |
#if HAVE_STDLIB_H |
30 |
# include <stdlib.h> |
# include <stdlib.h> |
31 |
#endif |
#endif |
52 |
# if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H) |
# if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H) |
53 |
# include <memory.h> |
# include <memory.h> |
54 |
# endif /* not STDC_HEADERS and HAVE_MEMORY_H */ |
# endif /* not STDC_HEADERS and HAVE_MEMORY_H */ |
|
# ifndef bcopy |
|
|
# define bcopy(src, dst, num) memcpy((dst), (src), (num)) |
|
|
# endif |
|
55 |
#else /* not STDC_HEADERS and not HAVE_STRING_H */ |
#else /* not STDC_HEADERS and not HAVE_STRING_H */ |
56 |
# include <strings.h> |
# include <strings.h> |
57 |
/* memory.h and strings.h conflict on some systems. */ |
/* memory.h and strings.h conflict on some systems. */ |
89 |
|
|
90 |
# include "xalloc.h" |
# include "xalloc.h" |
91 |
|
|
92 |
|
/* From xstrndup.c. */ |
93 |
|
char *xstrndup PARAMS ((const char *s, size_t n)); |
94 |
|
|
95 |
/*---------------------. |
/*---------------------. |
96 |
| Missing prototypes. | |
| Missing prototypes. | |
97 |
`---------------------*/ |
`---------------------*/ |
309 |
# include <dmalloc.h> |
# include <dmalloc.h> |
310 |
# endif /* WITH_DMALLOC */ |
# endif /* WITH_DMALLOC */ |
311 |
|
|
312 |
#endif /* BISON_SYSTEM_H */ |
#endif /* ! BISON_SYSTEM_H */ |