diff options
author | bde <bde@FreeBSD.org> | 1996-10-25 06:48:29 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-10-25 06:48:29 +0000 |
commit | 842a7446a3df53532d5412e7829b8b07c0dc748c (patch) | |
tree | eb5dbb1e0b4b66d261e454dfb14d3330b74d99e4 /lib/libmd | |
parent | 28991fe36a25a40095d69a1ac9e2a2c9a3894bba (diff) | |
download | FreeBSD-src-842a7446a3df53532d5412e7829b8b07c0dc748c.zip FreeBSD-src-842a7446a3df53532d5412e7829b8b07c0dc748c.tar.gz |
Moved #include of <sys/types.h> earlier so that this compiles when
<stdio.h> doesn't (bogusly) include <sys/types.h>.
Cleaned up #includes.
Diffstat (limited to 'lib/libmd')
-rw-r--r-- | lib/libmd/mdXhl.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/libmd/mdXhl.c b/lib/libmd/mdXhl.c index ffab03a..913e290 100644 --- a/lib/libmd/mdXhl.c +++ b/lib/libmd/mdXhl.c @@ -6,19 +6,20 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: mdXhl.c,v 1.6 1995/07/12 09:13:47 phk Exp $ + * $Id: mdXhl.c,v 1.7 1996/07/24 20:55:38 phk Exp $ * */ -#include <stdlib.h> -#include <stdio.h> -#include <errno.h> -#include "mdX.h" -#include <sys/file.h> #include <sys/types.h> -#include <sys/uio.h> +#include <fcntl.h> #include <unistd.h> +#include <errno.h> +#include <stdio.h> +#include <stdlib.h> + +#include "mdX.h" + char * MDXEnd(MDX_CTX *ctx, char *buf) { |