aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_unixize.h
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-05 21:11:00 +0000
committerjozan <jozan@noemail.net>2020-11-05 21:11:00 +0000
commita08a005acbca938722f7071686bb47a3729260d3 (patch)
tree555a71a626afc9a1af406259e576255276cd9f39 /src/c_unixize.h
parentReading in progress (diff)
downloadunixize-a08a005acbca938722f7071686bb47a3729260d3.tar.gz
unixize-a08a005acbca938722f7071686bb47a3729260d3.tar.bz2
unixize-a08a005acbca938722f7071686bb47a3729260d3.tar.xz
unixize-a08a005acbca938722f7071686bb47a3729260d3.tar.zst
unixize-a08a005acbca938722f7071686bb47a3729260d3.zip
Correctly parsed file names
FossilOrigin-Name: 980ba03855e22bc2773667472adb0eb0d440b8aa8519b1217c4c938109636c32
Diffstat (limited to '')
-rw-r--r--src/c_unixize.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/c_unixize.h b/src/c_unixize.h
index edf9cde..a43f887 100644
--- a/src/c_unixize.h
+++ b/src/c_unixize.h
@@ -46,11 +46,7 @@
#ifndef __C_UNIXIZE_H__
#define __C_UNIXIZE_H__
-#ifdef __linux__
-#include <linux/limits.h>
-#else
-#include <limits.h>
-#endif
+#include <sys/param.h>
typedef enum bool_e {
FALSE,
@@ -63,7 +59,7 @@ struct opts_s {
bool_t pretend;
bool_t recursive;
bool_t verbose;
- char dir[PATH_MAX];
+ char dir[MAXPATHLEN];
};
struct lfiles_s {