Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include Include sys/featuretest.h before using _NETBSD_SOURCE.
details: https://anonhg.NetBSD.org/src/rev/de8aa8ee4e4f
branches: trunk
changeset: 786390:de8aa8ee4e4f
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Apr 27 21:24:27 2013 +0000
description:
Include sys/featuretest.h before using _NETBSD_SOURCE.
diffstat:
include/inttypes.h | 3 ++-
include/locale.h | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r 4f0894e75a1c -r de8aa8ee4e4f include/inttypes.h
--- a/include/inttypes.h Sat Apr 27 21:22:05 2013 +0000
+++ b/include/inttypes.h Sat Apr 27 21:24:27 2013 +0000
@@ -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>
diff -r 4f0894e75a1c -r de8aa8ee4e4f include/locale.h
--- a/include/locale.h Sat Apr 27 21:22:05 2013 +0000
+++ b/include/locale.h Sat Apr 27 21:24:27 2013 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index