Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/file/src <sys/cdefs.h> is a NetBSD'ism. Protect it wit...
details: https://anonhg.NetBSD.org/src/rev/d7efce059ed2
branches: trunk
changeset: 555223:d7efce059ed2
user: matt <matt%NetBSD.org@localhost>
date: Wed Nov 12 02:08:11 2003 +0000
description:
<sys/cdefs.h> is a NetBSD'ism. Protect it with #ifdef __NetBSD__
diffstat:
dist/file/src/file.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 99a29660a3e0 -r d7efce059ed2 dist/file/src/file.h
--- a/dist/file/src/file.h Wed Nov 12 01:24:15 2003 +0000
+++ b/dist/file/src/file.h Wed Nov 12 02:08:11 2003 +0000
@@ -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.
@@ -40,7 +40,9 @@
#ifndef __file_h__
#define __file_h__
+#ifdef __NetBSD__
#include <sys/cdefs.h>
+#endif
#ifdef HAVE_CONFIG_H
#include <config.h>
Home |
Main Index |
Thread Index |
Old Index