Merge pull request #565 from mapbox/gnusource

Add #define to fix the build on Cygwin
This commit is contained in:
Eric Fischer 2018-05-04 20:42:19 +02:00 committed by GitHub
commit 43312fd83e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>