apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From field...@apache.org
Subject svn commit: r571889 - /apr/apr-util/trunk/build/dbm.m4
Date Sat, 01 Sep 2007 22:40:21 GMT
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 ()



Mime
View raw message