Shaun Jackman noted that limits.h defines path_max and isn't included from
authorRob Landley <rob@landley.net>
Tue, 25 Oct 2005 02:22:13 +0000 (02:22 -0000)
committerRob Landley <rob@landley.net>
Tue, 25 Oct 2005 02:22:13 +0000 (02:22 -0000)
find_root_device.c.  (We #include it in busybox.h but not libbb.h, it seems.
Someday, someone's going to have to clarify for me the difference between
those two...)

libbb/find_root_device.c

index 7ff65bb573bc3fd4463ea974860319dbc2d32b5a..dfe0cfa7b5cbb7c11b40a4d61581b4ff3e48241f 100644 (file)
@@ -19,6 +19,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
 
+#include <limits.h>
 #include <stdio.h>
 #include <string.h>
 #include <dirent.h>