diff options
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libdtrace/common/dt_provider.c')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libdtrace/common/dt_provider.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_provider.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_provider.c index 86e1204..188ce0e 100644 --- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_provider.c +++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_provider.c @@ -27,13 +27,17 @@ #pragma ident "%Z%%M% %I% %E% SMI" #include <sys/types.h> +#if defined(sun) #include <sys/sysmacros.h> +#endif #include <assert.h> #include <limits.h> #include <strings.h> #include <stdlib.h> +#if defined(sun) #include <alloca.h> +#endif #include <unistd.h> #include <errno.h> |