about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authormarco <marco@conformal.com>2011-09-26 09:32:00 -0500
committermarco <marco@conformal.com>2011-09-26 09:32:00 -0500
commit78d65e00f68e0c5b8beec1dc31c3988c07b98ea2 (patch)
tree9e0504718ff5b168925c0b405dc0ac26d11a8ef9
parent53c9d739d7a3b4c0742c269668d98a871a5fb6f6 (diff)
downloadxombrero-78d65e00f68e0c5b8beec1dc31c3988c07b98ea2.tar.gz
include bsd/stdlib on linux from Aleksander Balicki <balicki.aleksander@gmail.com>
-rw-r--r--marco.c3
-rw-r--r--xxxterm.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/marco.c b/marco.c
index ad9e38a..250a0ff 100644
--- a/marco.c
+++ b/marco.c
@@ -17,6 +17,9 @@
 
 #include <stdlib.h>
 #include <string.h>
+#if defined(__linux__)
+#include <bsd/stdlib.h>
+#endif
 
 static const char *message[] = {
 	"I fully support your right to put restrictions on how I can modify"
diff --git a/xxxterm.c b/xxxterm.c
index e362f85..1c3509c 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -45,6 +45,7 @@
 #if defined(__linux__)
 #include "linux/util.h"
 #include "linux/tree.h"
+#include <bsd/stdlib.h>
 #elif defined(__FreeBSD__)
 #include <libutil.h>
 #include "freebsd/util.h"