title: CLONE_VM undeclared (first use in this function)
body: <p>I am using the clone feature in linux c.</p>
  
  <p>However, I encountered the error CLONE_VM undeclared (first use in this function) when I tried to compile my code.</p>
  
  <p>I went to google for solutions and one of the site mentioned that <code>#include &lt;sched.h&gt;</code> must be included inside the code. I have already included <code>#include &lt;sched.h&gt;</code> in my code but the compilation error still persists.</p>
  
  <p>Any help? :)</p>
  
  <pre><code>int c = clone(child,p+STACKSIZE-1,CLONE_VM|SIGCHLD,NULL) ;
  </code></pre>