Skip to content
Snippets Groups Projects
Commit 08262d98 authored by deuce's avatar deuce
Browse files

We need to #define _GNU_SOURCE on Linux before #include<>ing stdio.h.

parent a93736f6
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
* Note: If this box doesn't appear square, then you need to fix your tabs. * * Note: If this box doesn't appear square, then you need to fix your tabs. *
****************************************************************************/ ****************************************************************************/
#define _GNU_SOURCE // asprintf() on Linux
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment