diff --git a/include/sys/sunldi.h b/include/sys/sunldi.h new file mode 100644 index 0000000000..01e80b54f4 --- /dev/null +++ b/include/sys/sunldi.h @@ -0,0 +1,9 @@ +#ifndef _SPL_SUNLDI_H +#define _SPL_SUNLDI_H + +/* XXX: ALL TOTALLY BOGUS, JUST PLACE HOLDERS */ +typedef int ddi_devid_t; +typedef int ldi_handle_t; +typedef int ldi_ident_t; + +#endif /* SPL_SUNLDI_H */ diff --git a/include/util/qsort.h b/include/util/qsort.h new file mode 100644 index 0000000000..f7bb268476 --- /dev/null +++ b/include/util/qsort.h @@ -0,0 +1,8 @@ +#ifndef _SPL_QSORT_H +#define _SPL_QSORT_H + +#include + +#define qsort(base, num, size, cmp) sort(base, num, size, cmp, NULL) + +#endif /* SPL_QSORT_H */