Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,8 @@ if test "$PHP_MEMCACHED" != "no"; then

CFLAGS="$ORIG_CFLAGS"

AC_CHECK_HEADERS([arpa/inet.h])
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is optional as already done in php, but seems more robust (PHP can change)


export PKG_CONFIG_PATH="$ORIG_PKG_CONFIG_PATH"
PHP_SUBST(MEMCACHED_SHARED_LIBADD)

Expand Down
3 changes: 3 additions & 0 deletions php_memcached_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
#include "php_memcached.h"
#include "php_memcached_private.h"
#include "php_memcached_server.h"
#if HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif

#include <event2/listener.h>

Expand Down