title: struct proc_dir_entry Definition in Kernel
body: <p>Where is <code>struct proc_dir_entry</code> defined in linux kernel?
  in <code>/linux/proc_fs.h</code> it is just declared as: (kernel 3.10)</p>
  
  <pre><code>struct proc_dir_entry;
  </code></pre>
  
  <p>and I think because of this I get this error: </p>
  
  <pre><code>dereferencing pointer to incomplete type
  </code></pre>
  
  <p>at this line of code though including <code>/linux/proc_fs.h</code>:</p>
  
  <pre><code>while(strcmp (my_dir_entry-&gt;name,"tcp"))
  </code></pre>