aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mkimg/mkimg.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mkimg/mkimg.h')
-rw-r--r--usr.bin/mkimg/mkimg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/mkimg/mkimg.h b/usr.bin/mkimg/mkimg.h
index 70b14e3a113d..fc13828be869 100644
--- a/usr.bin/mkimg/mkimg.h
+++ b/usr.bin/mkimg/mkimg.h
@@ -104,4 +104,10 @@ typedef struct mkimg_uuid mkimg_uuid_t;
void mkimg_uuid(mkimg_uuid_t *);
void mkimg_uuid_enc(void *, const mkimg_uuid_t *);
+#ifdef __linux__
+# if !defined(__unused)
+# define __unused __attribute__ ((__unused__))
+# endif
+#endif
+
#endif /* _MKIMG_MKIMG_H_ */