summaryrefslogtreecommitdiffstats
path: root/gnu/lib
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2005-09-16 21:24:10 +0000
committerkan <kan@FreeBSD.org>2005-09-16 21:24:10 +0000
commit6adebfab812a023e8d2e349fa2ea5c3bd91e708d (patch)
tree539bc13c6a2aa6e06db74eaf76c940169f5d957a /gnu/lib
parentdafff159c45a7780a4baa3f58d463fb44de6ccc4 (diff)
downloadFreeBSD-src-6adebfab812a023e8d2e349fa2ea5c3bd91e708d.zip
FreeBSD-src-6adebfab812a023e8d2e349fa2ea5c3bd91e708d.tar.gz
Include <sys/defs.h> to get __ISO_C_VISIBLE definition is one is not
already available.
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/libstdc++/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/lib/libstdc++/config.h b/gnu/lib/libstdc++/config.h
index 1c183b7..1067c06 100644
--- a/gnu/lib/libstdc++/config.h
+++ b/gnu/lib/libstdc++/config.h
@@ -1,4 +1,7 @@
/* $FreeBSD$ */
+#ifndef __ISO_C_VISIBLE
+#include <sys/cdefs.h>
+#endif
/* config.h. Generated by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
OpenPOWER on IntegriCloud