summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kern/macros.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kern/macros.h b/kern/macros.h
index 6b203e52..83bab87f 100644
--- a/kern/macros.h
+++ b/kern/macros.h
@@ -98,4 +98,8 @@ moo_print(const char *s)
#define __packed __attribute__((packed))
#endif
+#ifndef __unused
+#define __unused __attribute__((unused))
+#endif
+
#endif /* _KERN_MACROS_H */