summaryrefslogtreecommitdiffstats
path: root/hidd
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 /hidd
parentb05a997e2744579ca0cb141526285b5d9dee9321 (diff)
Avoid direct inclusion of malloc.h
Diffstat (limited to 'hidd')
-rw-r--r--hidd/main.c2
-rw-r--r--hidd/sdp.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/hidd/main.c b/hidd/main.c
index 77372a11..d0883b36 100644
--- a/hidd/main.c
+++ b/hidd/main.c
@@ -31,7 +31,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
-#include <malloc.h>
+#include <string.h>
#include <syslog.h>
#include <signal.h>
#include <getopt.h>
diff --git a/hidd/sdp.c b/hidd/sdp.c
index b19069e9..eaf8c136 100644
--- a/hidd/sdp.c
+++ b/hidd/sdp.c
@@ -30,7 +30,6 @@
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
-#include <malloc.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/param.h>