1 | /* |
---|
2 | * This file hails from config_p.h. Edit it to suit your system. |
---|
3 | */ |
---|
4 | |
---|
5 | /* Include <stdlib.h>, if it exists. */ |
---|
6 | #include <stdlib.h> |
---|
7 | |
---|
8 | /* Always include this one. */ |
---|
9 | #include <stdio.h> |
---|
10 | |
---|
11 | /* Define I_STDARG if there's a stdarg.h. */ |
---|
12 | #define I_STDARG |
---|
13 | |
---|
14 | /* Include either <string.h> or <strings.h> here. */ |
---|
15 | #include <string.h> |
---|
16 | |
---|
17 | /* Include <memory.h>, if appropriate. Note that it may have been left |
---|
18 | out even though it exists. We do this because of conflicts on many |
---|
19 | systems. But if it works, then it works. */ |
---|
20 | /* #include <memory.h> */ |
---|
21 | |
---|
22 | /* Include <unistd.h> if it exists. */ |
---|
23 | #include <unistd.h> |
---|
24 | |
---|
25 | /* If the system has vfork(), then it may require us to include vfork.h */ |
---|
26 | /* #include <vfork.h> */ |
---|
27 | |
---|
28 | /* Define this if POSIX <dirent.h> instead of old <sys/dir.h>. */ |
---|
29 | #define POSIX_DIRENT |
---|
30 | |
---|
31 | /* If the system has bzero(), use it; otherwise hope they have memset() */ |
---|
32 | /* #define bzero(s, n) memset((s), 0, (n)) */ |
---|
33 | |
---|
34 | /* If the system has memcmp(), use it; otherwise hope they have bcmp() */ |
---|
35 | /* #define memcmp bcmp */ |
---|
36 | |
---|
37 | /* If the system has memcpy(), use it; otherwise hope they have bcopy() */ |
---|
38 | /* #define memcpy(d, s, n) bcopy(s, d, n) */ |
---|
39 | |
---|
40 | /* If the system has strchr(), use it; otherwise hope they have index() */ |
---|
41 | /* Likewise for strrchr() and rindex() */ |
---|
42 | /* #define strchr index */ |
---|
43 | /* #define strrchr rindex */ |
---|
44 | |
---|
45 | /* Use vfork() if it's available; otherwise, fork() */ |
---|
46 | /* #define vfork fork */ |
---|