mirror of https://gerrit.osmocom.org/libosmocore
msgfile: Fix warning on BSDs stdio
msgfile.c:116:16: warning: implicit declaration of function 'getline' is invalid in C99 [-Wimplicit-function-declaration] while (getline(&line, &n, file) != -1) {
This commit is contained in:
parent
ca8dcb7bff
commit
6cce3d7153
|
@ -21,6 +21,8 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define _WITH_GETLINE
|
||||||
|
|
||||||
#include <osmocom/core/msgfile.h>
|
#include <osmocom/core/msgfile.h>
|
||||||
#include <osmocom/core/talloc.h>
|
#include <osmocom/core/talloc.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue