]> err.no Git - util-linux/commitdiff
namei: use c.h
authorKarel Zak <kzak@redhat.com>
Thu, 15 Oct 2009 23:44:33 +0000 (01:44 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 15 Oct 2009 23:44:33 +0000 (01:44 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/namei.c

index f8f096d8679b46ebd94f22d157e3c4bee8d59b22..3c465e4349e4cfa96530e3f4730c7b3d21a2f3e0 100644 (file)
@@ -32,6 +32,8 @@
 #include <err.h>
 #include <pwd.h>
 #include <grp.h>
+
+#include "c.h"
 #include "nls.h"
 #include "widechar.h"
 
 #define MAXSYMLINKS 256
 #endif
 
-#ifndef PATH_MAX
-#define PATH_MAX 4096
-#endif
-
 #ifndef LOGIN_NAME_MAX
 #define LOGIN_NAME_MAX 256
 #endif