This program is a host tool, so when we use newfangled C features like

PRIxyz we have to ensure it still builds on hosts with Old compilers.
Noticed while building a cross-toolchain on FreeBSD 4.
This commit is contained in:
tls 2007-09-04 00:34:58 +00:00
parent 89e48410c4
commit ae75a5cdbe

View File

@ -1,4 +1,4 @@
/* $NetBSD: fdisk.c,v 1.105 2007/07/05 20:30:29 dsl Exp $ */
/* $NetBSD: fdisk.c,v 1.106 2007/09/04 00:34:58 tls Exp $ */
/*
* Mach Operating System
@ -39,7 +39,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: fdisk.c,v 1.105 2007/07/05 20:30:29 dsl Exp $");
__RCSID("$NetBSD: fdisk.c,v 1.106 2007/09/04 00:34:58 tls Exp $");
#endif /* not lint */
#define MBRPTYPENAMES
@ -115,6 +115,10 @@ static char lbuf[LBUF];
#endif
#endif
#ifndef PRId32
#define PRId32 "ld"
#endif
#ifndef _PATH_DEFDISK
#define _PATH_DEFDISK "/dev/rwd0d"
#endif