summaryrefslogtreecommitdiff
path: root/pfinet/linux
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/linux')
-rw-r--r--pfinet/linux/malloc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pfinet/linux/malloc.h b/pfinet/linux/malloc.h
index e69de29b..4189796e 100644
--- a/pfinet/linux/malloc.h
+++ b/pfinet/linux/malloc.h
@@ -0,0 +1,7 @@
+#ifndef _HACK_MALLOC_H_
+#define _HACK_MALLOC_H_
+
+#define kfree_s(a,b) (free (a))
+#define kmalloc(a,b) (malloc (a))
+
+#endif