diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-01-16 18:08:16 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-01-16 18:08:16 +0000 |
commit | 4f066bb63a3ae9a5d561986071abd505ce8663e6 (patch) | |
tree | 9d14f2323fd69ee987af2f06e6d695dfff617b1b /usr.bin/file/apprentice.c | |
parent | 26df6e461e9e1933637bf8071f8e5a8ffc813cce (diff) |
Add missing <limits.h> to file.c and remove definition of PATH_MAX
which masked the missing include. OK deraadt@
Diffstat (limited to 'usr.bin/file/apprentice.c')
-rw-r--r-- | usr.bin/file/apprentice.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/file/apprentice.c b/usr.bin/file/apprentice.c index 1c6a49e96e6..295c899abf4 100644 --- a/usr.bin/file/apprentice.c +++ b/usr.bin/file/apprentice.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apprentice.c,v 1.33 2015/01/16 08:24:04 doug Exp $ */ +/* $OpenBSD: apprentice.c,v 1.34 2015/01/16 18:08:15 millert Exp $ */ /* * Copyright (c) Ian F. Darwin 1986-1995. * Software written by Ian F. Darwin and others; @@ -73,10 +73,6 @@ #define MAP_FILE 0 #endif -#ifndef PATH_MAX -#define PATH_MAX 1024 -#endif - struct magic_entry { struct magic *mp; uint32_t cont_count; |