Add #define to fix the build on Cygwin

This commit is contained in:
Eric Fischer 2018-05-04 10:37:27 -07:00
parent af69c85d23
commit b8cfab1eaf

View File

@ -1,3 +1,8 @@
// for vasprintf() on Linux
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>