]> err.no Git - util-linux/commitdiff
include: use c.h in canonicalize.h
authorKarel Zak <kzak@redhat.com>
Thu, 15 Oct 2009 23:45:42 +0000 (01:45 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 15 Oct 2009 23:45:42 +0000 (01:45 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
include/canonicalize.h

index b8906d43d134f0a09d171a27a6431b57489c0838..b04510c79ea2fd1448f002750ee4138abe7a5675 100644 (file)
@@ -1,10 +1,7 @@
 #ifndef CANONICALIZE_H
 #define CANONICALIZE_H
 
-#include <limits.h>
-#ifndef PATH_MAX
-# define PATH_MAX 4096
-#endif
+#include "c.h" /* for PATH_MAX */
 
 extern char *canonicalize_path(const char *path);