title: error: ‘IOV_MAX’ undeclared (first use in this function)
body: <p>I'm trying to install <a href="http://sourceforge.net/projects/repcached/files/latest/download?source=files" rel="noreferrer">memcached-1.2.8-repcached-2.2.1</a></p>
  
  <p>I have the following error after running <code>make</code>:</p>
  
  <pre><code>$ make  all-recursive 
  make[1]: Entering directory `/usr/local/src/pro/memcached-1.2.8-repcached-2.2.1'     
  Making all in doc
  make[2]: Entering directory `/usr/local/src/pro/memcached-1.2.8-repcached-2.2.1/doc'
  make[2]: Nothing to be done for `all'.
  make[2]: Leaving directory `/usr/local/src/pro/memcached-1.2.8-repcached-2.2.1/doc'
  make[2]: Entering directory `/usr/local/src/pro/memcached-1.2.8-repcached-2.2.1'
  gcc -DHAVE_CONFIG_H -I.  -DNDEBUG   -g -O2 -MT memcached-memcached.o -MD -MP -MF 
  .d eps/memcached-memcached.Tpo -c -o memcached-memcached.o `test -f 'memcached.c' || echo './'`memcached.c
  memcached.c: In function ‘add_iov’:
  memcached.c:697: error: ‘IOV_MAX’ undeclared (first use in this function)
  memcached.c:697: error: (Each undeclared identifier is reported only once
  memcached.c:697: error: for each function it appears in.)
  make[2]: *** [memcached-memcached.o] Error 1     
  make[2]: Leaving directory `/usr/local/src/pro/memcached-1.2.8-repcached-2.2.1'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/usr/local/src/pro/memcached-1.2.8-repcached-2.2.1'
  make: *** [all] Error 2
  </code></pre>
  
  <p>OS : Centos5.7 64bit</p>
  
  <p>gcc-4.1.2-51.el5</p>
  
  <p>gcc-c++-4.1.2-51.el5</p>
  
  <p>libgcc-4.1.2-51.el5</p>
  
  <p>Is there any thing wrong with IOV_MAX in gcc, file headers ...etc .?</p>