Skip to content
Snippets Groups Projects
Commit 4e386eeb authored by Daniel Salzman's avatar Daniel Salzman
Browse files

Fix FreeBSD getline warning

refs #2137
parent 03c1a4ad
No related branches found
No related tags found
No related merge requests found
......@@ -14,14 +14,14 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "common/getline_wrap.h"
#include "config.h" // HAVE_
// FreeBSD POSIX2008 getline
#ifndef _WITH_GETLINE
#define _WITH_GETLINE
#endif
#include "common/getline_wrap.h"
#include "config.h" // HAVE_
#include <stdio.h> // getline or fgetln
#include <stdlib.h> // free
#include <string.h> // memcpy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment