summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Harsch <mike@harschsystems.com>2012-10-23 09:38:10 -0600
committerMike Harsch <mike@harschsystems.com>2012-10-23 09:38:10 -0600
commitafc9e8c49f1cbf4ceff77c73b8077a4b97264c1c (patch)
tree800bd63541dc44b8e9add92044670e30ca177648
parent487574ad5b23c4c617c9784d3579c4c6cb823286 (diff)
downloadlibnvpair-afc9e8c49f1cbf4ceff77c73b8077a4b97264c1c.tar.gz
switch to stdarg.h
-rw-r--r--nvpair.c2
-rw-r--r--nvpair.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/nvpair.c b/nvpair.c
index 234f9eb..fd118dd 100644
--- a/nvpair.c
+++ b/nvpair.c
@@ -35,7 +35,7 @@
//#include <rpc/xdr.h>
#if defined(_KERNEL) && !defined(_BOOT)
-#include <sys/varargs.h>
+#include <stdarg.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>
#else
diff --git a/nvpair.h b/nvpair.h
index b0b17f2..06e21a0 100644
--- a/nvpair.h
+++ b/nvpair.h
@@ -29,7 +29,7 @@
#include <sys/types.h>
#include <sys/time.h>
#include <sys/errno.h>
-#include <sys/va_list.h>
+#include <stdarg.h>
#if defined(_KERNEL) && !defined(_BOOT)
#include <sys/kmem.h>