Browse Source

xpg4.2 makes sys/types.h optional, so we gotta include it ourselves

OPENBSD_2_0
deraadt 28 years ago
parent
commit
fc8220f0ea
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/include/regex.h

+ 2
- 1
src/include/regex.h View File

@ -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. * Copyright (c) 1992 Henry Spencer.
@ -43,6 +43,7 @@
#define _REGEX_H_ #define _REGEX_H_
#include <sys/cdefs.h> #include <sys/cdefs.h>
#include <sys/types.h>
/* types */ /* types */
typedef off_t regoff_t; typedef off_t regoff_t;


Loading…
Cancel
Save