diff options
author | Roland McGrath <roland@gnu.org> | 1995-05-17 20:47:26 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-05-17 20:47:26 +0000 |
commit | 12f975a9295094c3db90ab9e75f3c2ad68639644 (patch) | |
tree | 46be502f091110ec4ccb72504b0ab00084a7fad7 /src/regex.h | |
parent | 58ac467ee734a08adc2bea34e49a2b512119417d (diff) | |
download | emacs-12f975a9295094c3db90ab9e75f3c2ad68639644.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.h | 4 |
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> |