summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2016-07-23 21:02:38 +0200
committerTom Smeding <tom.smeding@gmail.com>2016-07-23 21:02:38 +0200
commit09e3e442e122d5e6fcab9f36712401ced40ee090 (patch)
treef2d16c25508e9fcec2b2a2de3ab16afb38e70dd1
parentbae6a5ad7f8620d6b54b6d1f07ed2e034256330b (diff)
_GNU_SOURCE for asprintf on linux
-rw-r--r--number.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/number.c b/number.c
index 38f60d7..4c1f9b2 100644
--- a/number.c
+++ b/number.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE //asprintf
#include <stdio.h>
#include <stdlib.h>
#include <string.h>