aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-03-06 15:55:38 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-03-06 15:55:38 +0000
commit191883cea74b31f4bcc49ff54c9e283c584c9f80 (patch)
tree21ad2f84322d90773fa27e76b418c465a71242c8
parentf308f8c80b020d3df6141a4275f5d72c7ac9e716 (diff)
downloadmandoc-191883cea74b31f4bcc49ff54c9e283c584c9f80.tar.gz
mandoc-191883cea74b31f4bcc49ff54c9e283c584c9f80.tar.zst
mandoc-191883cea74b31f4bcc49ff54c9e283c584c9f80.zip
this file needs to #include "config.h" because it calls getprogname();
found while testing on Debian jessie
-rw-r--r--mandoc_msg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mandoc_msg.c b/mandoc_msg.c
index 4c4fabb9..ff4d8031 100644
--- a/mandoc_msg.c
+++ b/mandoc_msg.c
@@ -1,4 +1,4 @@
-/* $Id: mandoc_msg.c,v 1.5 2019/01/10 06:29:00 schwarze Exp $ */
+/* $Id: mandoc_msg.c,v 1.6 2019/03/06 15:55:38 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014,2015,2016,2017,2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,6 +15,8 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>