Re: Compiling 2.5.1 on OpenBSD 4.1
- From: "Martin v. Löwis" <martin@xxxxxxxxxxx>
- Date: Sun, 29 Jul 2007 18:41:40 +0200
Thanks Martin. Did I mention this was OpenBSD 4.1 in the original post? Here's the patch:
It may work, but I don't like it. Can you please try this one instead,
and report whether it works?
Thanks,
Martin
Index: configure
===================================================================
--- configure (Revision 56599)
+++ configure (Arbeitskopie)
@@ -1388,6 +1388,14 @@
_ACEOF
+# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
+# also defined. This can be overridden by defining _BSD_SOURCE
+
+cat >>confdefs.h <<\_ACEOF
+#define _BSD_SOURCE 1
+_ACEOF
+
+
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
.
- Follow-Ups:
- Re: Compiling 2.5.1 on OpenBSD 4.1
- From: nazgul
- Re: Compiling 2.5.1 on OpenBSD 4.1
- References:
- Compiling 2.5.1 on OpenBSD 4.1
- From: nazgul
- Re: Compiling 2.5.1 on OpenBSD 4.1
- From: "Martin v. Löwis"
- Re: Compiling 2.5.1 on OpenBSD 4.1
- From: nazgul
- Compiling 2.5.1 on OpenBSD 4.1
- Prev by Date: Understanding mxODBC Insert Error
- Next by Date: UK Ordnance survey coordinates and Geocoding anyone ?
- Previous by thread: Re: Compiling 2.5.1 on OpenBSD 4.1
- Next by thread: Re: Compiling 2.5.1 on OpenBSD 4.1
- Index(es):
Relevant Pages
|
|