summaryrefslogtreecommitdiffstats
path: root/sdpd
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 /sdpd
parentb05a997e2744579ca0cb141526285b5d9dee9321 (diff)
Avoid direct inclusion of malloc.h
Diffstat (limited to 'sdpd')
-rw-r--r--sdpd/cstate.c2
-rw-r--r--sdpd/request.c2
-rw-r--r--sdpd/servicedb.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sdpd/cstate.c b/sdpd/cstate.c
index bb422ce4..d0adf08a 100644
--- a/sdpd/cstate.c
+++ b/sdpd/cstate.c
@@ -30,7 +30,7 @@
#include <stdio.h>
#include <errno.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <sys/time.h>
#include <sys/socket.h>
diff --git a/sdpd/request.c b/sdpd/request.c
index 757c5ad9..44b65f69 100644
--- a/sdpd/request.c
+++ b/sdpd/request.c
@@ -31,7 +31,7 @@
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
-#include <malloc.h>
+#include <string.h>
#include <limits.h>
#include <sys/socket.h>
diff --git a/sdpd/servicedb.c b/sdpd/servicedb.c
index b5ea17ca..6cc34bd3 100644
--- a/sdpd/servicedb.c
+++ b/sdpd/servicedb.c
@@ -30,7 +30,7 @@
#include <stdio.h>
#include <errno.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>