diff options
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -27,6 +27,10 @@ #include <termios.h> #include <wchar.h> +#ifdef HAVE_MALLOC_TRIM +#include <malloc.h> +#endif + #ifdef HAVE_UTF8PROC #include <utf8proc.h> #endif @@ -35,6 +39,10 @@ #define __attribute__(a) #endif +#ifdef BROKEN___DEAD +#undef __dead +#endif + #ifndef __unused #define __unused __attribute__ ((__unused__)) #endif |