summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-23 11:53:45 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-23 11:53:45 +0000
commit78764a32b1233bb84ddfcb5fcf897987c0814eca (patch)
tree68ae365521db29cf05805e3dd2c1b1273e08d2bc
parent5f830a70c871c50aa9579ead192f35848178be1b (diff)
downloadmandoc-78764a32b1233bb84ddfcb5fcf897987c0814eca.tar.gz
FreeBSD compile fixes (uqs@spoerlein.net).
-rw-r--r--man.c2
-rw-r--r--man_hash.c2
-rw-r--r--mdoc.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/man.c b/man.c
index 486c352f..c303dd6c 100644
--- a/man.c
+++ b/man.c
@@ -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/man_hash.c b/man_hash.c
index 6e9f2afb..572be63d 100644
--- a/man_hash.c
+++ b/man_hash.c
@@ -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/mdoc.c b/mdoc.c
index 48dedb0b..5b49227a 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -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>