diff options
Diffstat (limited to 'source/include/includes.h')
-rw-r--r-- | source/include/includes.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index a8c3f68203e..a811731c302 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -330,6 +330,26 @@ #endif #endif /* HAVE_NETGROUP */ +/* + * Define VOLATILE if needed. + */ + +#if defined(HAVE_VOLATILE) +#define VOLATILE volatile +#else +#define VOLATILE +#endif + +/* + * Define SIG_ATOMIC_T if needed. + */ + +#if defined(HAVE_SIG_ATOMIC_T_TYPE) +#define SIG_ATOMIC_T sig_atomic_t +#else +#define SIG_ATOMIC_T int +#endif + #ifndef uchar #define uchar unsigned char #endif |