summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat.h b/compat.h
index 7d9b14fd..6812e9a5 100644
--- a/compat.h
+++ b/compat.h
@@ -21,6 +21,9 @@
#define __attribute__(a)
#endif
+#ifndef __unused
+#define __unused __attribute__ ((__unused__))
+#endif
#ifndef __dead
#define __dead __attribute__ ((__noreturn__))
#endif