diff options
Diffstat (limited to 'sysutils/setcdboot')
-rw-r--r-- | sysutils/setcdboot/files/setcdboot.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/setcdboot/files/setcdboot.c b/sysutils/setcdboot/files/setcdboot.c index 5f51971f5eb5..187536bf1004 100644 --- a/sysutils/setcdboot/files/setcdboot.c +++ b/sysutils/setcdboot/files/setcdboot.c @@ -61,6 +61,8 @@ struct ptable_ent { #define cdb2off(bno) ((bno) * ISO_DEFAULT_BLOCK_SIZE) /* XXX these should be in the system headers */ +#include <osreldate.h> +#if __FreeBSD_version < 700003 static __inline int isonum_722(u_char *p) { @@ -72,6 +74,7 @@ isonum_732( u_char *p) { return (*p << 24)|(p[1] << 16)|(p[2] << 8)|p[3]; } +#endif static int dirmatch(const char *path, struct iso_directory_record *dp) |