aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/libgamma-error.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libgamma-error.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/libgamma-error.h b/src/lib/libgamma-error.h
index 3549a3d..5d6e300 100644
--- a/src/lib/libgamma-error.h
+++ b/src/lib/libgamma-error.h
@@ -22,6 +22,11 @@
# error libgamma-error.h should not be included directly, include libgamma.h instead
#endif
+
+#ifndef __GNUC__
+# define __attribute__
+#endif
+
#include <sys/types.h>