diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/features.h | 8 | ||||
-rw-r--r-- | include/unistd.h | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h index 634590f49..f51ebd7e2 100644 --- a/include/features.h +++ b/include/features.h @@ -24,19 +24,27 @@ #define __P(x) x #define __PMT(x) x +#ifndef __const #define __const const +#endif /* Almost ansi */ #if __STDC__ != 1 +#ifndef const #define const +#endif #define volatile #endif #else /* K&R */ #define __P(x) () +#ifndef __const #define __const +#endif +#ifndef const #define const +#endif #define volatile #endif diff --git a/include/unistd.h b/include/unistd.h index 1ccd29480..916d972a0 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1008,6 +1008,10 @@ extern int pthread_atfork __P ((void (*__prepare) (void), void (*__child) (void))); #endif +#ifdef __VFORK_MACRO__ +#include <bits/vfork.h> +#endif + __END_DECLS #endif /* unistd.h */ |