Commit 1339a4ad authored by Li-Wen Hsu's avatar Li-Wen Hsu

Define _GNU_SOURCE for getline(3)

parent efdaafe0
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
*/ */
#define READLINE_CALLBACKS #define READLINE_CALLBACKS
#include "config.h" #include "config.h"
#define _GNU_SOURCE
#include <assert.h> #include <assert.h>
#define _WITH_GETLINE
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment