summaryrefslogtreecommitdiff
path: root/openbsd-compat/sys-tree.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-02-08 11:50:09 +1100
committerDarren Tucker <dtucker@zip.com.au>2013-02-08 11:50:09 +1100
commit951b53b1bede98fdcfeeac8c5c00dbf3948d9b75 (patch)
tree669491e147904e17ea43fe7f66453bc45876aedb /openbsd-compat/sys-tree.h
parente7f50e1c181bad14787a4b995875ed63b79adf5d (diff)
- (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/sys-tree.h')
-rw-r--r--openbsd-compat/sys-tree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsd-compat/sys-tree.h b/openbsd-compat/sys-tree.h
index 058fa3b23..7f7546ecd 100644
--- a/openbsd-compat/sys-tree.h
+++ b/openbsd-compat/sys-tree.h
@@ -26,6 +26,11 @@
26 26
27/* OPENBSD ORIGINAL: sys/sys/tree.h */ 27/* OPENBSD ORIGINAL: sys/sys/tree.h */
28 28
29#include "config.h"
30#ifdef NO_ATTRIBUTE_ON_RETURN_TYPE
31# define __attribute__(x)
32#endif
33
29#ifndef _SYS_TREE_H_ 34#ifndef _SYS_TREE_H_
30#define _SYS_TREE_H_ 35#define _SYS_TREE_H_
31 36