diff options
Diffstat (limited to 'gl/dirname.h')
-rw-r--r-- | gl/dirname.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gl/dirname.h b/gl/dirname.h index f98e83bd..33935ba9 100644 --- a/gl/dirname.h +++ b/gl/dirname.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* Take file names apart into directory and base names. | 1 | /* Take file names apart into directory and base names. |
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,12 @@ | |||
19 | #ifndef DIRNAME_H_ | 19 | #ifndef DIRNAME_H_ |
20 | # define DIRNAME_H_ 1 | 20 | # define DIRNAME_H_ 1 |
21 | 21 | ||
22 | /* This file uses _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_PURE, | ||
23 | _GL_ATTRIBUTE_RETURNS_NONNULL. */ | ||
24 | #if !_GL_CONFIG_H_INCLUDED | ||
25 | #error "Please include config.h first." | ||
26 | #endif | ||
27 | |||
22 | # include <stdlib.h> | 28 | # include <stdlib.h> |
23 | # include "filename.h" | 29 | # include "filename.h" |
24 | # include "basename-lgpl.h" | 30 | # include "basename-lgpl.h" |