From 00519f8bf5b56db1991923206c6cf8e01fcbfd9a Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Thu, 9 May 2013 06:06:11 +0400 Subject: Autotoolized version --- usr/src/lib/libdevice/devctl.c | 10 +++++++++- usr/src/lib/libdevice/libdevice.h | 2 -- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'usr/src/lib') diff --git a/usr/src/lib/libdevice/devctl.c b/usr/src/lib/libdevice/devctl.c index da48342..8bea9bc 100644 --- a/usr/src/lib/libdevice/devctl.c +++ b/usr/src/lib/libdevice/devctl.c @@ -37,7 +37,15 @@ #include #include #include -#include + +#if defined(HAVE_LIBNVPAIR_H) +# include +#elif defined(HAVE_SYS_NVPAIR_H) +# include +#else +# error Cannot find libnvpair headers +#endif + #include "libdevice.h" static int _libdevice_debug = 0; diff --git a/usr/src/lib/libdevice/libdevice.h b/usr/src/lib/libdevice/libdevice.h index 22a8ab1..3bf4696 100644 --- a/usr/src/lib/libdevice/libdevice.h +++ b/usr/src/lib/libdevice/libdevice.h @@ -27,8 +27,6 @@ #ifndef _LIBDEVICE_H #define _LIBDEVICE_H -#pragma ident "%Z%%M% %I% %E% SMI" - #include #include #include -- cgit v1.2.3