You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fi...@apache.org on 2007/09/02 00:40:21 UTC
svn commit: r571889 - /apr/apr-util/trunk/build/dbm.m4
Author: fielding
Date: Sat Sep 1 15:40:20 2007
New Revision: 571889
URL: http://svn.apache.org/viewvc?rev=571889&view=rev
Log:
(APU_TRY_BERKELEY_DB): #include stdlib.h to allow header file test code
to compile under Mac OS X.
[Roy doesn't see any difference with or without the line on OS X, but
the change does appear to be correct.]
Submitted by: Daniel Rall
Modified:
apr/apr-util/trunk/build/dbm.m4
Modified: apr/apr-util/trunk/build/dbm.m4
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/build/dbm.m4?rev=571889&r1=571888&r2=571889&view=diff
==============================================================================
--- apr/apr-util/trunk/build/dbm.m4 (original)
+++ apr/apr-util/trunk/build/dbm.m4 Sat Sep 1 15:40:20 2007
@@ -232,6 +232,7 @@
LIBS="$LIBS -l$apu_try_berkeley_db_libname"
AC_TRY_RUN(
[
+#include <stdlib.h>
#include <stdio.h>
#include <$apu_try_berkeley_db_header>
main ()