]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
liblastlog2: tests: provide fallback PATH_MAX definition
authorPino Toscano <toscano.pino@tiscali.it>
Mon, 8 Jul 2024 17:16:30 +0000 (19:16 +0200)
committerPino Toscano <toscano.pino@tiscali.it>
Mon, 8 Jul 2024 17:16:30 +0000 (19:16 +0200)
... by including the helper "c.h", which will do the right job.

Signed-off-by: Pino Toscano <toscano.pino@tiscali.it>
liblastlog2/src/tests/tst_dlopen.c

index 112564b024fbdfe981846438dc0a5adeb79406a9..e3af17edbf0a8cda509aabfe77b4df34e04393df 100644 (file)
@@ -13,6 +13,8 @@
 #include <limits.h>
 #include <sys/stat.h>
 
+#include "c.h"
+
 /* Simple program to see if dlopen() would succeed. */
 int main(int argc, char **argv)
 {