=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/patch/common.h,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- src/usr.bin/patch/common.h 2003/10/31 20:20:45 1.25 +++ src/usr.bin/patch/common.h 2006/03/11 19:41:30 1.26 @@ -1,4 +1,4 @@ -/* $OpenBSD: common.h,v 1.25 2003/10/31 20:20:45 millert Exp $ */ +/* $OpenBSD: common.h,v 1.26 2006/03/11 19:41:30 otto Exp $ */ /* * patch - a program to apply diffs to original files @@ -26,6 +26,8 @@ * behaviour */ +#include + #include #define DEBUGGING @@ -61,7 +63,7 @@ /* globals */ -extern int filemode; +extern mode_t filemode; extern char buf[MAXLINELEN];/* general purpose buffer */