diff options
author | jb <jb@FreeBSD.org> | 2008-04-26 04:34:50 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2008-04-26 04:34:50 +0000 |
commit | 5bfe3a7665f01409c80123be917456143dad2d8e (patch) | |
tree | b079ae7fc8724c211578c5e99639d0888ca74b92 | |
parent | f1ca15c2de687bd201b5a4555b4d605cbae52406 (diff) | |
download | FreeBSD-src-5bfe3a7665f01409c80123be917456143dad2d8e.zip FreeBSD-src-5bfe3a7665f01409c80123be917456143dad2d8e.tar.gz |
Just leave out a few includes to compile this on FreeBSD.
-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> |