diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-10-19 10:20:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-10-19 10:20:25 +0000 |
commit | 13406a4edf372338e2bb8a79abbf0802e3354e00 (patch) | |
tree | 857de1b547ca86883e850fd6e0b22d0474b17a60 | |
parent | 6ee61327dd569b7e4f4f1e781e0ba3afd1424563 (diff) |
sync to 1.9.6: u_char lives in <sys/types.h>
noticed by uqs at spoerlein dot net on FreeBSD,
where <stdlib.h> does not include <sys/types.h>
-rw-r--r-- | usr.bin/mandoc/man.c | 4 | ||||
-rw-r--r-- | usr.bin/mandoc/man_hash.c | 4 | ||||
-rw-r--r-- | usr.bin/mandoc/mdoc.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/usr.bin/mandoc/man.c b/usr.bin/mandoc/man.c index d749a73eff3..85a8dbfd6a6 100644 --- a/usr.bin/mandoc/man.c +++ b/usr.bin/mandoc/man.c @@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.13 2009/09/21 21:11:37 schwarze Exp $ */ +/* $Id: man.c,v 1.14 2009/10/19 10:20:24 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -14,6 +14,8 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> + #include <assert.h> #include <ctype.h> #include <stdarg.h> diff --git a/usr.bin/mandoc/man_hash.c b/usr.bin/mandoc/man_hash.c index b7d376fa2bf..506f997b909 100644 --- a/usr.bin/mandoc/man_hash.c +++ b/usr.bin/mandoc/man_hash.c @@ -1,4 +1,4 @@ -/* $Id: man_hash.c,v 1.6 2009/09/21 21:11:37 schwarze Exp $ */ +/* $Id: man_hash.c,v 1.7 2009/10/19 10:20:24 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -14,6 +14,8 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> + #include <assert.h> #include <limits.h> #include <stdlib.h> diff --git a/usr.bin/mandoc/mdoc.c b/usr.bin/mandoc/mdoc.c index f29b4b0e836..e5f3fc12f3d 100644 --- a/usr.bin/mandoc/mdoc.c +++ b/usr.bin/mandoc/mdoc.c @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.27 2009/09/21 21:11:37 schwarze Exp $ */ +/* $Id: mdoc.c,v 1.28 2009/10/19 10:20:24 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -14,6 +14,8 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> + #include <assert.h> #include <ctype.h> #include <stdarg.h> |