diff options
author | Paul Lindner <plindner@hi5.com> | 2007-05-07 19:50:54 +0000 |
---|---|---|
committer | Paul Lindner <plindner@hi5.com> | 2007-05-07 19:50:54 +0000 |
commit | b65aa2ab5d2748fd9d518b86385aa1e037f07021 (patch) | |
tree | eb6115779ee4c895ae0a4a2dc1f718b82b4cb1e2 | |
parent | 275f8c40705526ac4514d5dcff2cbf0311b540ac (diff) | |
download | memcached-b65aa2ab5d2748fd9d518b86385aa1e037f07021.tar.gz |
fix for freebsd 6.x (and perhaps others)
git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@550 b0b603af-a30f-0410-a34e-baf09ae79d0b
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | autogen.sh | 4 | ||||
-rw-r--r-- | memcached.h | 1 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2007-05-07 Paul Lindner <lindner@inuus.com> + + * Fix compilation bug on freebsd 6.x (and maybe others) + 2007-05-04 Paul Lindner <lindner@inuus.com> * Add fedora/redhat style init script and RPM spec file @@ -8,8 +8,8 @@ # echo "aclocal..." -ACLOCAL=${ACLOCAL:-aclocal-1.7} -$ACLOCAL || aclocal-1.5 || aclocal || exit 1 +ACLOCAL=`which aclocal-1.9 || which aclocal19 || which aclocal-1.7 || which aclocal17 || which aclocal-1.5 || which aclocal15 || which aclocal || exit 1` +$ACLOCAL || exit 1 echo "autoheader..." AUTOHEADER=${AUTOHEADER:-autoheader} diff --git a/memcached.h b/memcached.h index 6690d53..ab0429c 100644 --- a/memcached.h +++ b/memcached.h @@ -3,6 +3,7 @@ #include "config.h" #include <sys/types.h> +#include <sys/socket.h> #include <sys/time.h> #include <netinet/in.h> #include <event.h> |