summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-08-12 13:45:08 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-08-12 13:45:08 (GMT)
commitd632050d1d5dcf9517f5caa930e30d212b68009b (patch)
treeb2fb73652cf887edda1b1018ca68b6844fa1cc9e /configure.in
parent0cb3c635033dbfdf43de5b7c9ed2b2e3fe7d6fdf (diff)
downloadcpython-d632050d1d5dcf9517f5caa930e30d212b68009b.zip
cpython-d632050d1d5dcf9517f5caa930e30d212b68009b.tar.gz
cpython-d632050d1d5dcf9517f5caa930e30d212b68009b.tar.bz2
Define _BSD_TYPES. Fixes #1005308. Backported to 2.3.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index fbd436b..6f99ae9 100644
--- a/configure.in
+++ b/configure.in
@@ -50,6 +50,10 @@ AC_DEFINE(_NETBSD_SOURCE, 1, [Define on NetBSD to activate all library features]
# them.
AC_DEFINE(__BSD_VISIBLE, 1, [Define on FreeBSD to activate all library features])
+# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
+# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
+AC_DEFINE(_BSD_TYPES, 1, [Define on Irix to enable u_int])
+
define_xopen_source=yes
# Arguments passed to configure.