aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isp
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2005-03-02 21:33:29 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2005-03-02 21:33:29 +0000
commita5f50ef9e43b28e15a7e2a2aec73754456619f17 (patch)
tree69c98a86a28838e983d8eca9ba158f46450df8c1 /sys/dev/isp
parentf685f62c9869f2c8181041ae3e3d87a09d2d3fbf (diff)
Notes
Diffstat (limited to 'sys/dev/isp')
-rw-r--r--sys/dev/isp/ispvar.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h
index b5aa8deed4c11..b3e7911dbea2d 100644
--- a/sys/dev/isp/ispvar.h
+++ b/sys/dev/isp/ispvar.h
@@ -44,6 +44,9 @@
#include <dev/isp/isp_target.h>
#include <dev/isp/isp_tpublic.h>
#endif
+#ifndef _SYS_CDEFS_H_
+#error this file needs sys/cdefs.h as a prerequisite
+#endif
#endif
#ifdef __linux__
#include "ispmbox.h"
@@ -760,7 +763,7 @@ int isp_async(struct ispsoftc *, ispasync_t, void *);
/*
* Platform Dependent Error and Debug Printout
*/
-#if defined(__GNUC__) || defined(__INTEL_COMPILER)
+#ifdef __GNUCLIKE_ATTRIBUTE_PRINTF
void isp_prt(struct ispsoftc *, int level, const char *, ...)
__attribute__((__format__(__printf__,3,4)));
#else