diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-02-08 11:50:09 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-02-08 11:50:09 +1100 |
commit | 951b53b1bede98fdcfeeac8c5c00dbf3948d9b75 (patch) | |
tree | 669491e147904e17ea43fe7f66453bc45876aedb /openbsd-compat | |
parent | e7f50e1c181bad14787a4b995875ed63b79adf5d (diff) | |
download | openssh-git-951b53b1bede98fdcfeeac8c5c00dbf3948d9b75.tar.gz |
- (dtucker) [configure.ac openbsd-compat/sys-tree.h] Test if compiler allows
__attribute__ on return values and work around if necessary. ok djm@
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/sys-tree.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsd-compat/sys-tree.h b/openbsd-compat/sys-tree.h index 058fa3b2..7f7546ec 100644 --- a/openbsd-compat/sys-tree.h +++ b/openbsd-compat/sys-tree.h @@ -26,6 +26,11 @@ /* OPENBSD ORIGINAL: sys/sys/tree.h */ +#include "config.h" +#ifdef NO_ATTRIBUTE_ON_RETURN_TYPE +# define __attribute__(x) +#endif + #ifndef _SYS_TREE_H_ #define _SYS_TREE_H_ |