--- src/usr.bin/chflags/chflags.c 2008/11/11 02:55:13 1.6 +++ src/usr.bin/chflags/chflags.c 2008/11/11 05:53:07 1.7 @@ -36,6 +36,7 @@ * $DragonFly$ */ +#include #include #include @@ -104,9 +105,11 @@ main(int argc, char **argv) } else fts_options = FTS_LOGICAL; +#if __DragonFly_version >= 200101 if (hflag) change_flags = lchflags; else +#endif change_flags = chflags; flags = *argv;