diff options
author | dtucker <dtucker> | 2013-02-08 00:50:09 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2013-02-08 00:50:09 +0000 |
commit | b75cf8028d64d6fdef4553c07320d3025590ce82 (patch) | |
tree | 0bbbde93458027ac12d093ac6f7f84e19fca92b1 /openbsd-compat | |
parent | 2d3034af2398caab1ac70a7d570187ce4df3ce53 (diff) | |
download | openssh-b75cf8028d64d6fdef4553c07320d3025590ce82.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_ |