title: warning: implicit declaration of the function ‘getline
body: <p>I am getting this warning for implicit declaration of the getline function and have tried solutions found on stackoverflow, but still not getting rid of it. How can i fix this ?</p>
  <pre><code>#define _GNU_SOURCE
  #include &lt;stdio.h&gt;
  </code></pre>
  <p>I am trying to compile this program on Unix and I'm getting the 'implicit declaration' error on this line:</p>
  <pre><code> while(getline(&amp;line, &amp;len, faccess) != -1) {
  </code></pre>