<sys/cdefs.h> is a NetBSD'ism. Protect it with #ifdef __NetBSD__

This commit is contained in:
matt 2003-11-12 02:08:11 +00:00
parent b91abd5ac8
commit 12836072a9

View File

@ -1,4 +1,4 @@
/* $NetBSD: file.h,v 1.5 2003/10/27 16:22:36 pooka Exp $ */ /* $NetBSD: file.h,v 1.6 2003/11/12 02:08:11 matt Exp $ */
/* /*
* Copyright (c) Ian F. Darwin 1986-1995. * Copyright (c) Ian F. Darwin 1986-1995.
@ -40,7 +40,9 @@
#ifndef __file_h__ #ifndef __file_h__
#define __file_h__ #define __file_h__
#ifdef __NetBSD__
#include <sys/cdefs.h> #include <sys/cdefs.h>
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>