summaryrefslogtreecommitdiffstats
path: root/gl/basename-lgpl.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-10 00:06:06 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-10 00:06:06 +0100
commit21c39515903c34bc6428a544c88cf1c100786847 (patch)
treec9d0465e24cc3148c84c2fee191f2b1bfc71b841 /gl/basename-lgpl.h
parented01d534474cc640515f1d5155349f14090aafe9 (diff)
parent5d7d620903a2fb40f8cd3140081bfb7ceaf125d5 (diff)
downloadmonitoring-plugins-21c39515903c34bc6428a544c88cf1c100786847.tar.gz
Merge branch 'master' into check_swap_again
Diffstat (limited to 'gl/basename-lgpl.h')
-rw-r--r--gl/basename-lgpl.h7
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