summaryrefslogtreecommitdiffstats
path: root/stream/rar.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/rar.c')
-rw-r--r--stream/rar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stream/rar.c b/stream/rar.c
index 31211c777b..ec68bcbfa2 100644
--- a/stream/rar.c
+++ b/stream/rar.c
@@ -25,6 +25,9 @@
* Preamble
*****************************************************************************/
+// needed for asprintf()
+#define _GNU_SOURCE
+
#include <assert.h>
#include <limits.h>
#include <stdio.h>