summaryrefslogtreecommitdiff
path: root/src/regex.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-05-17 20:47:26 +0000
committerRoland McGrath <roland@gnu.org>1995-05-17 20:47:26 +0000
commit50079e94750319fdd99cd3b75f1ab940f2f807c5 (patch)
treec32bb4b39c73da44f03c97357654fbe50fe1d664 /src/regex.h
parentee6a7f732bd0da5e392bd266d305a473816adba7 (diff)
downloademacs-50079e94750319fdd99cd3b75f1ab940f2f807c5.tar.gz
[VMS]: Don't #include <stddef.h> if _POSIX_SOURCE or _POSIX_C_SOURCE is
defined.
Diffstat (limited to 'src/regex.h')
-rw-r--r--src/regex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex.h b/src/regex.h
index 66791b0670b..31eaf849f75 100644
--- a/src/regex.h
+++ b/src/regex.h
@@ -1,7 +1,7 @@
/* Definitions for data structures and routines for the regular
expression library, version 0.12.
- Copyright (C) 1985, 89, 90, 91, 92, 1993 Free Software Foundation, Inc.
+ Copyright (C) 1985, 89, 90, 91, 92, 93, 95 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -23,7 +23,7 @@
/* POSIX says that <sys/types.h> must be included (by the caller) before
<regex.h>. */
-#ifdef VMS
+#if !defined (_POSIX_C_SOURCE) && !defined (_POSIX_SOURCE) && defined (VMS)
/* VMS doesn't have `size_t' in <sys/types.h>, even though POSIX says it
should be there. */
#include <stddef.h>