define __unused to nothing if not already defined

fixes builds on BSD/OS
This commit is contained in:
Damien Miller 2015-03-04 04:59:13 +11:00
parent d608a51daa
commit 1598419e38
1 changed files with 4 additions and 0 deletions

View File

@ -850,4 +850,8 @@ struct winsize {
# endif /* gcc version */
#endif /* __predict_true */
#ifndef __unused
# define __unused
#endif
#endif /* _DEFINES_H */