summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-11 13:20:50 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-11 13:20:50 +0000
commit45c36dbd276501aa76d9798a8fafe6c202db7276 (patch)
tree33a344f450ec4292777acb3f44f9c0ccccc77105 /common
parentb05a997e2744579ca0cb141526285b5d9dee9321 (diff)
Avoid direct inclusion of malloc.h
Diffstat (limited to 'common')
-rw-r--r--common/oui.c2
-rw-r--r--common/sdp-xml.c1
-rw-r--r--common/textfile.c2
3 files changed, 2 insertions, 3 deletions
diff --git a/common/oui.c b/common/oui.c
index a9c4af5a..0915afdf 100644
--- a/common/oui.c
+++ b/common/oui.c
@@ -29,7 +29,7 @@
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/mman.h>
diff --git a/common/sdp-xml.c b/common/sdp-xml.c
index 2cc55c2d..1e1e07c3 100644
--- a/common/sdp-xml.c
+++ b/common/sdp-xml.c
@@ -28,7 +28,6 @@
#include <stdio.h>
#include <errno.h>
#include <ctype.h>
-#include <malloc.h>
#include <string.h>
#include <limits.h>
#include <stdlib.h>
diff --git a/common/textfile.c b/common/textfile.c
index 021fc8fb..eef0f96a 100644
--- a/common/textfile.c
+++ b/common/textfile.c
@@ -31,7 +31,7 @@
#include <ctype.h>
#include <fcntl.h>
#include <unistd.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/file.h>
#include <sys/stat.h>