summaryrefslogtreecommitdiffstats
path: root/common/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/md5.h')
-rw-r--r--common/md5.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/md5.h b/common/md5.h
index 0fb0a4a..b0daab1 100644
--- a/common/md5.h
+++ b/common/md5.h
@@ -88,7 +88,11 @@ struct md5_ctx
md5_uint32 total[2];
md5_uint32 buflen;
- char buffer[128] __attribute__ ((__aligned__ (__alignof__ (md5_uint32))));
+ char buffer[128]
+#if __GNUC__
+ __attribute__ ((__aligned__ (__alignof__ (md5_uint32))))
+#endif
+ ;
};
/*