summaryrefslogtreecommitdiffstats
path: root/common/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/list.c')
-rw-r--r--common/list.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/list.c b/common/list.c
index cb160501..1aa9d0be 100644
--- a/common/list.c
+++ b/common/list.c
@@ -3,6 +3,7 @@
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2004-2006 Marcel Holtmann <marcel@holtmann.org>
+ * Copyright (C) 2005-2006 Johan Hedberg <johan.hedberg@nokia.com>
*
*
* This program is free software; you can redistribute it and/or modify
@@ -26,7 +27,8 @@
#endif
#include <stdio.h>
-#include <stdlib.h>
+#include <errno.h>
+#include <malloc.h>
#include "list.h"