Skip to content

Commit

Permalink
NULL isn't standard thing, so require stdlib.h
Browse files Browse the repository at this point in the history
Change-Id: Ib92fef78fd2c4164e9394ab7b640501308f064cb
Reviewed-on: http://review.couchbase.org/25286
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  • Loading branch information
avsej authored and trondn committed Mar 21, 2013
1 parent 1561ee2 commit be0b361
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ AC_CACHE_CHECK([for libevent2], [ac_cv_have_libevent2],
[ saved_libs="$LIBS" [ saved_libs="$LIBS"
LIBS=-levent LIBS=-levent
AC_TRY_LINK([ AC_TRY_LINK([
#include <stdlib.h>
#include <sys/types.h> #include <sys/types.h>
#include <event2/event.h> #include <event2/event.h>
],[ ],[
Expand Down

0 comments on commit be0b361

Please sign in to comment.