From 12f975a9295094c3db90ab9e75f3c2ad68639644 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 17 May 1995 20:47:26 +0000 Subject: [PATCH] [VMS]: Don't #include if _POSIX_SOURCE or _POSIX_C_SOURCE is defined. --- src/regex.h | 4 ++-- 1 file 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 must be included (by the caller) before . */ -#ifdef VMS +#if !defined (_POSIX_C_SOURCE) && !defined (_POSIX_SOURCE) && defined (VMS) /* VMS doesn't have `size_t' in , even though POSIX says it should be there. */ #include -- 2.39.2