]> git.cameronkatri.com Git - mandoc.git/commitdiff
Including <ohash.h> requires including <stdint.h> before,
authorIngo Schwarze <schwarze@openbsd.org>
Sat, 29 Aug 2015 15:28:13 +0000 (15:28 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Sat, 29 Aug 2015 15:28:13 +0000 (15:28 +0000)
and "config.h" was missing as well.
Patch from Svyatoslav Mishyn <juef and openmailbox dot org>, Crux Linux.

tag.c

diff --git a/tag.c b/tag.c
index 3b3de023e36158f02c7fb192c9551089a538652d..4167336fcdc7ddb5b9c7e90e526fd93eb39f54a8 100644 (file)
--- a/tag.c
+++ b/tag.c
@@ -1,4 +1,4 @@
-/*      $Id: tag.c,v 1.6 2015/07/28 18:38:55 schwarze Exp $    */
+/*      $Id: tag.c,v 1.7 2015/08/29 15:28:13 schwarze Exp $    */
 /*
  * Copyright (c) 2015 Ingo Schwarze <schwarze@openbsd.org>
  *
  * 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 <sys/types.h>
 
 #include <signal.h>
 #include <stddef.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>