Module Name: src
Committed By: joerg
Date: Sat Apr 27 21:24:27 UTC 2013
Modified Files:
src/include: inttypes.h locale.h
Log Message:
Include sys/featuretest.h before using _NETBSD_SOURCE.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/include/inttypes.h
cvs rdiff -u -r1.19 -r1.20 src/include/locale.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/include/inttypes.h
diff -u src/include/inttypes.h:1.9 src/include/inttypes.h:1.10
--- src/include/inttypes.h:1.9 Tue Apr 16 21:44:06 2013
+++ src/include/inttypes.h Sat Apr 27 21:24:27 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: inttypes.h,v 1.9 2013/04/16 21:44:06 joerg Exp $ */
+/* $NetBSD: inttypes.h,v 1.10 2013/04/27 21:24:27 joerg Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -33,6 +33,7 @@
#define _INTTYPES_H_
#include <sys/cdefs.h>
+#include <sys/featuretest.h>
#include <sys/inttypes.h>
#include <machine/ansi.h>
Index: src/include/locale.h
diff -u src/include/locale.h:1.19 src/include/locale.h:1.20
--- src/include/locale.h:1.19 Wed Apr 17 20:40:13 2013
+++ src/include/locale.h Sat Apr 27 21:24:27 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: locale.h,v 1.19 2013/04/17 20:40:13 joerg Exp $ */
+/* $NetBSD: locale.h,v 1.20 2013/04/27 21:24:27 joerg Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -34,6 +34,8 @@
#ifndef _LOCALE_H_
#define _LOCALE_H_
+#include <sys/featuretest.h>
+
struct lconv {
char *decimal_point;
char *thousands_sep;