summary refs log tree commit diff
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
commitb7a1eb26779ad717e62901cf96e049e508b5640b (patch)
treed1f2d6609a83e85444f392b79aeb93291b29c8fc
parentFix comparison warning in ttpre (diff)
downloadsrc-b7a1eb26779ad717e62901cf96e049e508b5640b.tar.gz
src-b7a1eb26779ad717e62901cf96e049e508b5640b.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
-rw-r--r--bin/order.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/order.y b/bin/order.y
index 5bb93f9b..2de1b531 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);
 }