Define _GNU_SOURCE for getline(3)

This commit is contained in:
Li-Wen Hsu 2013-12-19 01:58:51 +08:00
parent bb53f75e2b
commit cacf0582bc

2
loop.c
View file

@ -18,9 +18,9 @@
*/
#define READLINE_CALLBACKS
#include "config.h"
#define _GNU_SOURCE
#include <assert.h>
#define _WITH_GETLINE
#include <stdio.h>
#include <stdlib.h>