diff options
Diffstat (limited to 'gl/size_max.h')
| -rw-r--r-- | gl/size_max.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gl/size_max.h b/gl/size_max.h index 48af0250..93eb96a6 100644 --- a/gl/size_max.h +++ b/gl/size_max.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* size_max.h -- declare SIZE_MAX through system headers | 1 | /* size_max.h -- declare SIZE_MAX through system headers |
| 2 | Copyright (C) 2005-2006, 2009-2023 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2006, 2009-2025 Free Software Foundation, Inc. |
| 3 | Written by Simon Josefsson. | 3 | Written by Simon Josefsson. |
| 4 | 4 | ||
| 5 | This file is free software: you can redistribute it and/or modify | 5 | This file is free software: you can redistribute it and/or modify |
| @@ -18,6 +18,11 @@ | |||
| 18 | #ifndef GNULIB_SIZE_MAX_H | 18 | #ifndef GNULIB_SIZE_MAX_H |
| 19 | #define GNULIB_SIZE_MAX_H | 19 | #define GNULIB_SIZE_MAX_H |
| 20 | 20 | ||
| 21 | /* This file uses HAVE_STDINT_H. */ | ||
| 22 | #if !_GL_CONFIG_H_INCLUDED | ||
| 23 | #error "Please include config.h first." | ||
| 24 | #endif | ||
| 25 | |||
| 21 | /* Get SIZE_MAX declaration on systems like Solaris 7/8/9. */ | 26 | /* Get SIZE_MAX declaration on systems like Solaris 7/8/9. */ |
| 22 | # include <limits.h> | 27 | # include <limits.h> |
| 23 | /* Get SIZE_MAX declaration on systems like glibc 2. */ | 28 | /* Get SIZE_MAX declaration on systems like glibc 2. */ |
