Prepare use of strtoull, strtoumax and strtoimax in tools/compat by

including nbtool_config.h.
This commit is contained in:
joerg 2008-09-10 18:08:58 +00:00
parent 52c4a82ef2
commit 3ae583451f
3 changed files with 17 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: strtoull.c,v 1.4 2008/08/22 03:00:02 matt Exp $ */
/* $NetBSD: strtoull.c,v 1.5 2008/09/10 18:08:58 joerg Exp $ */
/*-
* Copyright (c) 2005 The DragonFly Project. All rights reserved.
@ -27,8 +27,12 @@
* SUCH DAMAGE.
*/
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include <sys/cdefs.h>
__RCSID("$NetBSD: strtoull.c,v 1.4 2008/08/22 03:00:02 matt Exp $");
__RCSID("$NetBSD: strtoull.c,v 1.5 2008/09/10 18:08:58 joerg Exp $");
#ifdef _LIBC
#include "namespace.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: strtoumax.c,v 1.4 2008/08/22 03:00:02 matt Exp $ */
/* $NetBSD: strtoumax.c,v 1.5 2008/09/10 18:08:58 joerg Exp $ */
/*-
* Copyright (c) 2005 The DragonFly Project. All rights reserved.
@ -27,8 +27,12 @@
* SUCH DAMAGE.
*/
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include <sys/cdefs.h>
__RCSID("$NetBSD: strtoumax.c,v 1.4 2008/08/22 03:00:02 matt Exp $");
__RCSID("$NetBSD: strtoumax.c,v 1.5 2008/09/10 18:08:58 joerg Exp $");
#ifdef _LIBC
#include "namespace.h"

View File

@ -27,8 +27,12 @@
* SUCH DAMAGE.
*/
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include <sys/cdefs.h>
__RCSID("$NetBSD: strtoimax.c,v 1.6 2008/08/20 12:42:26 joerg Exp $");
__RCSID("$NetBSD: strtoimax.c,v 1.7 2008/09/10 18:08:58 joerg Exp $");
#include <assert.h>
#include <ctype.h>