summaryrefslogtreecommitdiff
path: root/libsysfs/dlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsysfs/dlist.h')
-rw-r--r--libsysfs/dlist.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libsysfs/dlist.h b/libsysfs/dlist.h
index 9e3a6c96de..62eaa9fec4 100644
--- a/libsysfs/dlist.h
+++ b/libsysfs/dlist.h
@@ -50,9 +50,10 @@
* Just use the dlist_(insert|delete)_(before|after) macros if you do not want
* to think about it.
-
*/
-#include <malloc.h>
+
+#include <stddef.h>
+
typedef struct dl_node {
struct dl_node *prev;
struct dl_node *next;