summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-05-21 07:23:02 +0000
committerHarald Welte <laforge@gnumonks.org>2009-05-21 07:23:02 +0000
commit12247c671371cd7f5466beb96db8ade8b12406d9 (patch)
tree5b130fe5011a22a4113ad140bbadf9266eb03fbe /src
parentef061951e6e9c8bb9eda16f396ad245037156868 (diff)
Fix compilation issues on OS X - mainly #include file changes (Lars Immisch)
Diffstat (limited to 'src')
-rw-r--r--src/abis_nm.c2
-rw-r--r--src/gsm_utils.c2
-rw-r--r--src/signal.c2
-rw-r--r--src/telnet_interface.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/abis_nm.c b/src/abis_nm.c
index 9820d974b..6909f7828 100644
--- a/src/abis_nm.c
+++ b/src/abis_nm.c
@@ -26,7 +26,7 @@
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <libgen.h>
#include <time.h>
#include <limits.h>
diff --git a/src/gsm_utils.c b/src/gsm_utils.c
index b0594aec3..0c25b28c6 100644
--- a/src/gsm_utils.c
+++ b/src/gsm_utils.c
@@ -22,7 +22,7 @@
*/
#include <openbsc/gsm_utils.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h>
/* GSM 03.38 6.2.1 Charachter packing */
diff --git a/src/signal.c b/src/signal.c
index a7fc28ec1..4227c6dc1 100644
--- a/src/signal.c
+++ b/src/signal.c
@@ -19,7 +19,7 @@
*/
#include <openbsc/signal.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h>
diff --git a/src/telnet_interface.c b/src/telnet_interface.c
index 5ed9a0e26..d812b17df 100644
--- a/src/telnet_interface.c
+++ b/src/telnet_interface.c
@@ -20,7 +20,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>