diff options
Diffstat (limited to 'src/makepatch.c')
-rw-r--r-- | src/makepatch.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/makepatch.c b/src/makepatch.c index 3de8860..bbce369 100644 --- a/src/makepatch.c +++ b/src/makepatch.c @@ -18,6 +18,10 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ***/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <assert.h> #include <unistd.h> #include <string.h> @@ -38,7 +42,7 @@ static int cb(DB *ddb, struct syrep_name *name, struct diff_entry *de, void *p) struct cb_info *cb_info = p; struct syrep_md md; struct syrep_nrecno nrecno; - char path[PATH_MAX+1]; + char path[PATH_MAX]; char d[SYREP_DIGESTLENGTH*2+1]; int f, k; |