b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | From 8bda86099089b44129ef6206764f9de47a45f0db Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex@linutronix.de> |
| 3 | Date: Tue, 12 Mar 2024 11:01:50 +0100 |
| 4 | Subject: [PATCH] util.c: add limits.h include for NAME_MAX definition |
| 5 | |
| 6 | Add limits.h include for NAME_MAX definition. |
| 7 | |
| 8 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> |
| 9 | Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> |
| 10 | --- |
| 11 | util.c | 2 +- |
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 13 | |
| 14 | --- a/util.c |
| 15 | +++ b/util.c |
| 16 | @@ -36,7 +36,7 @@ |
| 17 | #include <ctype.h> |
| 18 | #include <dirent.h> |
| 19 | #include <dlfcn.h> |
| 20 | - |
| 21 | +#include <limits.h> |
| 22 | |
| 23 | /* |
| 24 | * following taken from linux/blkpg.h because they aren't |