diff options
Diffstat (limited to 'gl/basename-lgpl.h')
| -rw-r--r-- | gl/basename-lgpl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gl/basename-lgpl.h b/gl/basename-lgpl.h index 5d996c1d..2a56be98 100644 --- a/gl/basename-lgpl.h +++ b/gl/basename-lgpl.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Extract the last component (base name) of a file name. | 1 | /* Extract the last component (base name) of a file name. |
| 2 | 2 | ||
| 3 | Copyright (C) 1998, 2001, 2003-2006, 2009-2023 Free Software Foundation, | 3 | Copyright (C) 1998, 2001, 2003-2006, 2009-2024 Free Software Foundation, |
| 4 | Inc. | 4 | Inc. |
| 5 | 5 | ||
| 6 | This file is free software: you can redistribute it and/or modify | 6 | This file is free software: you can redistribute it and/or modify |
| @@ -19,6 +19,11 @@ | |||
| 19 | #ifndef _BASENAME_LGPL_H | 19 | #ifndef _BASENAME_LGPL_H |
| 20 | #define _BASENAME_LGPL_H | 20 | #define _BASENAME_LGPL_H |
| 21 | 21 | ||
| 22 | /* This file uses _GL_ATTRIBUTE_PURE. */ | ||
| 23 | #if !_GL_CONFIG_H_INCLUDED | ||
| 24 | #error "Please include config.h first." | ||
| 25 | #endif | ||
| 26 | |||
| 22 | #include <stddef.h> | 27 | #include <stddef.h> |
| 23 | 28 | ||
| 24 | #ifndef DOUBLE_SLASH_IS_DISTINCT_ROOT | 29 | #ifndef DOUBLE_SLASH_IS_DISTINCT_ROOT |
