aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgi.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-11-20 12:39:08 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-11-20 12:39:08 +0000
commit22e871e66a74707ddc0eaf4085eb2c8119084f74 (patch)
treea06620124e1c0498c7a4d875280255a870b36edd /cgi.c
parent5da67534c5777aac6e1883b298c6ac08253ed57d (diff)
downloadmandoc-22e871e66a74707ddc0eaf4085eb2c8119084f74.tar.gz
mandoc-22e871e66a74707ddc0eaf4085eb2c8119084f74.tar.zst
mandoc-22e871e66a74707ddc0eaf4085eb2c8119084f74.zip
Merge schwarze@'s work for 64-bit types. This is based on a tweaked patch
submitted to tech@ on 16/11/2011, 01:39. It has been updated to account for the logical-operator functions and to avoid keeping a live pointer into the DBT value, which is not guaranteed to be consistent across calls into the bdb library.
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cgi.c b/cgi.c
index b6ded9ff..d3b018ad 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1,9 +1,10 @@
-/* $Id: cgi.c,v 1.4 2011/11/13 10:49:57 schwarze Exp $ */
+/* $Id: cgi.c,v 1.5 2011/11/20 12:39:08 kristaps Exp $ */
#include <assert.h>
#include <fcntl.h>
#include <regex.h>
#include <stdio.h>
#include <stdarg.h>
+#include <stdint.h>
#include <stdlib.h>
#include <string.h>