summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nvpair.c2
-rw-r--r--test/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/nvpair.c b/nvpair.c
index fd118dd..616b55c 100644
--- a/nvpair.c
+++ b/nvpair.c
@@ -23,7 +23,9 @@
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
*/
+#if !defined(__APPLE__)
#include <sys/stropts.h>
+#endif
//#include <sys/debug.h>
#include <assert.h>
#define ASSERT(x) assert(x)
diff --git a/test/Makefile b/test/Makefile
index 8ac15dc..add99d3 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -24,4 +24,4 @@ hellonv: hello_nv.c
$(CC) $(CPPFLAGS) $(CFLAGS) -o hello_nv hello_nv.c ../libnvpair.a
clean:
- rm -f $(OBJS) hello_nv
+ rm -rf $(OBJS) hello_nv hello_nv.dSYM/