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:
Holger Hans Peter Freyther 2015-03-18 21:35:56 +01:00
parent ca8dcb7bff
commit 6cce3d7153
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@
*
*/
#define _WITH_GETLINE
#include <osmocom/core/msgfile.h>
#include <osmocom/core/talloc.h>