summaryrefslogtreecommitdiffstats
path: root/mandoc_msg.c
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
commit2ba5f4492134398f4f2b50190b386285bd9c05f8 (patch)
tree8eb51d7076f617f2868a04967a6774495cce7084 /mandoc_msg.c
parentc83c21a92cc24c2fa1208ec948dcc22fcc247cc5 (diff)
downloadmandoc-2ba5f4492134398f4f2b50190b386285bd9c05f8.tar.gz
this file needs to #include "config.h" because it calls getprogname();
found while testing on Debian jessie
Diffstat (limited to 'mandoc_msg.c')
-rw-r--r--mandoc_msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mandoc_msg.c b/mandoc_msg.c
index 1a133f1c..26ee72a2 100644
--- a/mandoc_msg.c
+++ b/mandoc_msg.c
@@ -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>