Use config.h and add appropriate #if HAVE_FOO_H.
This commit is contained in:
parent
7d2d9d6fe1
commit
a1e41eed09
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: automatic.c,v 1.1 2005/11/03 21:16:41 dillo Exp $ */
|
||||
/* $NetBSD: automatic.c,v 1.2 2005/11/06 12:40:02 wiz Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2005 The NetBSD Foundation, Inc.
|
||||
@ -32,17 +32,35 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#if HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include <nbcompat.h>
|
||||
#if HAVE_SYS_CDEFS_H
|
||||
#include <sys/cdefs.h>
|
||||
#endif
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: automatic.c,v 1.1 2005/11/03 21:16:41 dillo Exp $");
|
||||
__RCSID("$NetBSD: automatic.c,v 1.2 2005/11/06 12:40:02 wiz Exp $");
|
||||
#endif
|
||||
|
||||
#if HAVE_ERR_H
|
||||
#include <err.h>
|
||||
#endif
|
||||
#if HAVE_ERRNO_H
|
||||
#include <errno.h>
|
||||
#endif
|
||||
#if HAVE_FCNTL_H
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
#if HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
#if HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#if HAVE_SYS_STAT_H
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
#include "lib.h"
|
||||
|
||||
Boolean
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: var.c,v 1.2 2005/11/04 09:26:05 hannken Exp $ */
|
||||
/* $NetBSD: var.c,v 1.3 2005/11/06 12:40:02 wiz Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2005 The NetBSD Foundation, Inc.
|
||||
@ -32,15 +32,29 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#if HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include <nbcompat.h>
|
||||
#if HAVE_SYS_CDEFS_H
|
||||
#include <sys/cdefs.h>
|
||||
#endif
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: var.c,v 1.2 2005/11/04 09:26:05 hannken Exp $");
|
||||
__RCSID("$NetBSD: var.c,v 1.3 2005/11/06 12:40:02 wiz Exp $");
|
||||
#endif
|
||||
|
||||
#if HAVE_SYS_STAT_H
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
#if HAVE_ERR_H
|
||||
#include <err.h>
|
||||
#endif
|
||||
#if HAVE_ERRNO_H
|
||||
#include <errno.h>
|
||||
#endif
|
||||
#if HAVE_STDIO_H
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#include "lib.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user