aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--terminal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index 5b1d6190..e07ac50e 100644
--- a/terminal.c
+++ b/terminal.c
@@ -1,6 +1,9 @@
#include "terminal.h"
+#if defined(__GLIBC__)
#include <malloc.h>
+#endif
+#include <signal.h>
#include <string.h>
#include <unistd.h>
#include <assert.h>