source: packages/net/memcached/patches/100-fix_iov_max.patch @ 25295

Last change on this file since 25295 was 25295, checked in by nbd, 6 years ago

memcached: fix compile error triggerd by defining need_IOV_MAX too late

File size: 428 bytes
  • memcached.c

    a b  
    1515std * 
    1616 *  $Id$ 
    1717 */ 
     18#ifndef __need_IOV_MAX 
     19#define __need_IOV_MAX 
     20#endif 
     21 
    1822#include "memcached.h" 
    1923#include <sys/stat.h> 
    2024#include <sys/socket.h> 
     
    2933#define _P1003_1B_VISIBLE 
    3034#endif 
    3135/* need this to get IOV_MAX on some platforms. */ 
    32 #ifndef __need_IOV_MAX 
    33 #define __need_IOV_MAX 
    34 #endif 
    3536#include <pwd.h> 
    3637#include <sys/mman.h> 
    3738#include <fcntl.h> 
Note: See TracBrowser for help on using the repository browser.