aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoland McGrath1995-05-17 20:47:26 +0000
committerRoland McGrath1995-05-17 20:47:26 +0000
commit12f975a9295094c3db90ab9e75f3c2ad68639644 (patch)
tree46be502f091110ec4ccb72504b0ab00084a7fad7 /src
parent58ac467ee734a08adc2bea34e49a2b512119417d (diff)
downloademacs-12f975a9295094c3db90ab9e75f3c2ad68639644.tar.gz
emacs-12f975a9295094c3db90ab9e75f3c2ad68639644.zip
[VMS]: Don't #include <stddef.h> if _POSIX_SOURCE or _POSIX_C_SOURCE is
defined.
Diffstat (limited to 'src')
-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 @@
1/* Definitions for data structures and routines for the regular 1/* Definitions for data structures and routines for the regular
2 expression library, version 0.12. 2 expression library, version 0.12.
3 3
4 Copyright (C) 1985, 89, 90, 91, 92, 1993 Free Software Foundation, Inc. 4 Copyright (C) 1985, 89, 90, 91, 92, 93, 95 Free Software Foundation, Inc.
5 5
6 This program is free software; you can redistribute it and/or modify 6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
@@ -23,7 +23,7 @@
23/* POSIX says that <sys/types.h> must be included (by the caller) before 23/* POSIX says that <sys/types.h> must be included (by the caller) before
24 <regex.h>. */ 24 <regex.h>. */
25 25
26#ifdef VMS 26#if !defined (_POSIX_C_SOURCE) && !defined (_POSIX_SOURCE) && defined (VMS)
27/* VMS doesn't have `size_t' in <sys/types.h>, even though POSIX says it 27/* VMS doesn't have `size_t' in <sys/types.h>, even though POSIX says it
28 should be there. */ 28 should be there. */
29#include <stddef.h> 29#include <stddef.h>