aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/libmath/mathconf.h
diff options
context:
space:
mode:
authorMarc Espie <espie@openbsd.org>2001-08-16 12:49:19 +0000
committerMarc Espie <espie@gcc.gnu.org>2001-08-16 12:49:19 +0000
commitc8f9b302511888c6fe5955d9908956a57474befe (patch)
tree7691a1c643ddb99ba2936589a517ff3aa8d9694d /libstdc++-v3/libmath/mathconf.h
parent0d3c08b6407402d6ced529741ad9942b777ec0e5 (diff)
downloadgcc-c8f9b302511888c6fe5955d9908956a57474befe.zip
gcc-c8f9b302511888c6fe5955d9908956a57474befe.tar.gz
gcc-c8f9b302511888c6fe5955d9908956a57474befe.tar.bz2
configure.in: Check for <sys/types.h>.
2001-08-16 Marc Espie <espie@openbsd.org> * configure.in: Check for <sys/types.h>. * configure: Rebuild. * config.h.in: Rebuild. * libmath/mathconf.h: Include <sys/types.h> prior to <machine/endian.h> if available. From-SVN: r44935
Diffstat (limited to 'libstdc++-v3/libmath/mathconf.h')
-rw-r--r--libstdc++-v3/libmath/mathconf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/libmath/mathconf.h b/libstdc++-v3/libmath/mathconf.h
index 1e87499..087631a 100644
--- a/libstdc++-v3/libmath/mathconf.h
+++ b/libstdc++-v3/libmath/mathconf.h
@@ -34,6 +34,9 @@
# include <endian.h>
#else
# ifdef HAVE_MACHINE_ENDIAN_H
+# ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+# endif
# include <machine/endian.h>
# else
# ifdef HAVE_SYS_MACHINE_H