title: C++ Error this declaration has no storage class or type specifier
body: <p>I'm trying to setup a timeout for the <code>select(int, fd_set, fd_set)</code> function for UDP socket connections.</p>
  
  <p>When i setup the second and usecond variables, I get <strong>Error this declaration has no storage class or type specifier</strong>.</p>
  
  <p>Here's the code</p>
  
  <pre><code>#define UTIMER 300000
  #define STIMER 0 
  struct timeval timeouts;
  timeouts.tv_sec=STIMER;    // &lt;-- ERROR HERE
  timeouts.tv_usec=UTIMER;   // &lt;-- ERROR HERE
  </code></pre>