summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-05-20 12:27:01 -0400
committerJune McEnroe <june@causal.agency>2019-05-20 12:27:01 -0400
commite60228a4bce269b960f03edc451c293d3f65924c (patch)
tree8b4015f555349793ecef745a9ecdc0a8d3c424a4 /bin
parentFix comparison warning in ttpre (diff)
downloadsrc-e60228a4bce269b960f03edc451c293d3f65924c.tar.gz
src-e60228a4bce269b960f03edc451c293d3f65924c.zip
Declare vasprintf(3) for GNU
who the fuck is scraeming "#define _GNU_SOURCE" at my house. show
yourself, coward. i will never #define _GNU_SOURCE
Diffstat (limited to '')
-rw-r--r--bin/order.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/order.y b/bin/order.y
index 25dce32b..0fb882d9 100644
--- a/bin/order.y
+++ b/bin/order.y
@@ -24,6 +24,8 @@
 #include <string.h>
 #include <sysexits.h>
 
+int vasprintf(char **ret, const char *format, va_list ap);
+
 static void yyerror(const char *str) {
 	errx(EX_DATAERR, "%s", str);
 }