diff options
author | dormando <dormando@rydia.net> | 2020-11-11 11:17:48 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2020-11-11 11:17:48 -0800 |
commit | 27b73a4e272280b9a52bc1b098f758af69e28956 (patch) | |
tree | cd4e7304c5c90b0f71b973c94b6b3388968616a0 /memcached.h | |
parent | 4de258ed891c0e5048192be1626fff6fabb10438 (diff) | |
download | memcached-27b73a4e272280b9a52bc1b098f758af69e28956.tar.gz |
net: fix compile failures when missing NAPI define
was defined in memcached.c, but also used in thread.c.
Diffstat (limited to 'memcached.h')
-rw-r--r-- | memcached.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/memcached.h b/memcached.h index 17d2a8f..776f687 100644 --- a/memcached.h +++ b/memcached.h @@ -51,6 +51,11 @@ #include <openssl/ssl.h> #endif +/* for NAPI pinning feature */ +#ifndef SO_INCOMING_NAPI_ID +#define SO_INCOMING_NAPI_ID 56 +#endif + /** Maximum length of a key. */ #define KEY_MAX_LENGTH 250 |