summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-18 10:05:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-18 10:05:44 +0000
commit9f3132a866bbbd0ef3a799a53407d42b39222570 (patch)
tree5395a83d94ff1c82b75d5e36a1451251f8cbf7c2
parentaf0eea49cfe9aab7c86085091519e5b715d0401f (diff)
xpg4.2 makes sys/types.h optional, so we gotta include it ourselves
-rw-r--r--include/regex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/regex.h b/include/regex.h
index bcc3e57581c..c33b26e9c01 100644
--- a/include/regex.h
+++ b/include/regex.h
@@ -1,4 +1,4 @@
-/* $NetBSD: regex.h,v 1.4 1994/10/26 00:56:14 cgd Exp $ */
+/* $NetBSD: regex.h,v 1.4.6.1 1996/06/10 18:57:07 explorer Exp $ */
/*-
* Copyright (c) 1992 Henry Spencer.
@@ -43,6 +43,7 @@
#define _REGEX_H_
#include <sys/cdefs.h>
+#include <sys/types.h>
/* types */
typedef off_t regoff_t;