diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 15:27:12 (GMT) |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 15:27:12 (GMT) |
commit | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (patch) | |
tree | 2b2e1c71dffae827c8e45cd4cccc375093d03486 /gl/minmax.h | |
parent | 6d1d1dac32841d5ca6ee51bb09b30a6c604b17e2 (diff) | |
download | monitoring-plugins-5be04ec2ceb1df77afbca4fcbf9e92a712612d6f.tar.gz |
Sync with the latest Gnulib code (d4ec02b3cc)refs/pull/2037/head
Diffstat (limited to 'gl/minmax.h')
-rw-r--r-- | gl/minmax.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gl/minmax.h b/gl/minmax.h index 1fbfc66..f3df58b 100644 --- a/gl/minmax.h +++ b/gl/minmax.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* MIN, MAX macros. | 1 | /* MIN, MAX macros. |
2 | Copyright (C) 1995, 1998, 2001, 2003, 2005, 2009-2023 Free Software | 2 | Copyright (C) 1995, 1998, 2001, 2003, 2005, 2009-2024 Free Software |
3 | Foundation, Inc. | 3 | Foundation, Inc. |
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 |
@@ -23,6 +23,11 @@ | |||
23 | MIN, MAX macro redefinitions on some systems; the workaround is to | 23 | MIN, MAX macro redefinitions on some systems; the workaround is to |
24 | #include this file as the last one among the #include list. */ | 24 | #include this file as the last one among the #include list. */ |
25 | 25 | ||
26 | /* This file uses HAVE_MINMAX_IN_LIMITS_H, HAVE_MINMAX_IN_SYS_PARAM_H. */ | ||
27 | #if !_GL_CONFIG_H_INCLUDED | ||
28 | #error "Please include config.h first." | ||
29 | #endif | ||
30 | |||
26 | /* Before we define the following symbols we get the <limits.h> file | 31 | /* Before we define the following symbols we get the <limits.h> file |
27 | since otherwise we get redefinitions on some systems if <limits.h> is | 32 | since otherwise we get redefinitions on some systems if <limits.h> is |
28 | included after this file. Likewise for <sys/param.h>. | 33 | included after this file. Likewise for <sys/param.h>. |