summaryrefslogtreecommitdiffstats
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-03-03 18:59:13 +0100
committerDamien Miller <djm@mindrot.org>2015-03-03 18:59:13 +0100
commit1598419e38afbaa8aa5df8dd6b0af98301e2c908 (patch)
treed89817165fcf1350b39510d30f7957e1c6af4f20 /defines.h
parentupstream commit (diff)
downloadopenssh-1598419e38afbaa8aa5df8dd6b0af98301e2c908.tar.xz
openssh-1598419e38afbaa8aa5df8dd6b0af98301e2c908.zip
define __unused to nothing if not already defined
fixes builds on BSD/OS
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index fa0ccba7c..cf65901d3 100644
--- a/defines.h
+++ b/defines.h
@@ -850,4 +850,8 @@ struct winsize {
# endif /* gcc version */
#endif /* __predict_true */
+#ifndef __unused
+# define __unused
+#endif
+
#endif /* _DEFINES_H */