title: memcpy was not declared error in eclipse CDT C++
body: <p>I am trying to do memcpy</p>
  
  <pre><code> char *pdata = data pointer;
   int64_t deviceId;
   memcpy(&amp;deviceId, pdata+1, 8);
  </code></pre>
  
  <p>And it complains "memcpy was not declared in this scope"</p>
  
  <p>I have included below libraries in my header file</p>
  
  <pre><code>&lt;stdio.h&gt;
  &lt;stdlib.h&gt;
  &lt;unistd.h&gt;
  </code></pre>
  
  <p>How do I fix this problem. Thank in advance..</p>