diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 16:27:12 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 16:27:12 +0100 |
| commit | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (patch) | |
| tree | 2b2e1c71dffae827c8e45cd4cccc375093d03486 /gl/size_max.h | |
| parent | 6d1d1dac32841d5ca6ee51bb09b30a6c604b17e2 (diff) | |
| download | monitoring-plugins-5be04ec.tar.gz | |
Sync with the latest Gnulib code (d4ec02b3cc)
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..bd2eb43e 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-2024 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. */ |
