Include opt_diagnostic.h.

This commit is contained in:
uebayasi 2015-08-30 07:55:45 +00:00
parent b86d2cc9aa
commit e7a049ec66
3 changed files with 13 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bcopy.S,v 1.14 2011/01/31 12:10:58 skrll Exp $ */
/* $NetBSD: bcopy.S,v 1.15 2015/08/30 07:55:45 uebayasi Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -38,6 +38,7 @@
#if defined(SPCOPY) && !defined(_STANDALONE)
#include "opt_diagnostic.h"
#include "opt_multiprocessor.h"
#include <machine/cpu.h>
@ -49,7 +50,7 @@
#include <machine/reg.h>
#if defined(LIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: bcopy.S,v 1.14 2011/01/31 12:10:58 skrll Exp $")
RCSID("$NetBSD: bcopy.S,v 1.15 2015/08/30 07:55:45 uebayasi Exp $")
#endif /* LIBC_SCCS and not lint */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: libkern.h,v 1.120 2015/05/29 19:38:59 matt Exp $ */
/* $NetBSD: libkern.h,v 1.121 2015/08/30 07:55:45 uebayasi Exp $ */
/*-
* Copyright (c) 1992, 1993
@ -34,6 +34,10 @@
#ifndef _LIB_LIBKERN_LIBKERN_H_
#define _LIB_LIBKERN_LIBKERN_H_
#ifdef _KERNEL_OPT
#include "opt_diagnostic.h"
#endif
#include <sys/types.h>
#include <sys/inttypes.h>
#include <sys/null.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: cdefs.h,v 1.124 2015/01/25 20:45:18 christos Exp $ */
/* $NetBSD: cdefs.h,v 1.125 2015/08/30 07:55:45 uebayasi Exp $ */
/* * Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@ -36,6 +36,10 @@
#ifndef _SYS_CDEFS_H_
#define _SYS_CDEFS_H_
#ifdef _KERNEL_OPT
#included "opt_diagnostic.h"
#endif
/*
* Macro to test if we're using a GNU C compiler of a specific vintage
* or later, for e.g. features that appeared in a particular version