aboutsummaryrefslogtreecommitdiff
path: root/pfinet/linux/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/linux/malloc.h')
-rw-r--r--pfinet/linux/malloc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pfinet/linux/malloc.h b/pfinet/linux/malloc.h
new file mode 100644
index 00000000..06930659
--- /dev/null
+++ b/pfinet/linux/malloc.h
@@ -0,0 +1,10 @@
+#ifndef _HACK_MALLOC_H_
+#define _HACK_MALLOC_H_
+
+#include <linux/mm.h>
+
+#define kfree_s(a,b) (free (a))
+#define kfree(a) (free (a))
+#define kmalloc(a,b) (malloc (a))
+
+#endif