Browse Source

Some build environments no longer have PATH_MAX.

Rob Landley 1 year ago
parent
commit
dea2ace534
1 changed files with 4 additions and 0 deletions
  1. 4 0
      kconfig/lkc.h

+ 4 - 0
kconfig/lkc.h

@@ -152,4 +152,8 @@ static inline bool sym_has_value(struct symbol *sym)
 }
 #endif
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 #endif /* LKC_H */