diff options
| author | jtc <jtc@NetBSD.org> | 1993-10-21 21:03:33 +0000 |
|---|---|---|
| committer | jtc <jtc@NetBSD.org> | 1993-10-21 21:03:33 +0000 |
| commit | d822defc50a192108b1cfe2d27b2fecc3ecb110f (patch) | |
| tree | 3ea675299cae5bcea54dba0010857fd1387450a6 /include | |
| parent | e6bcfeaf2af888394dee44bd534912ac5e1b57c4 (diff) | |
Define size_t if it hasn't been allready.
Diffstat (limited to 'include')
| -rw-r--r-- | include/search.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/search.h b/include/search.h index e50ba3e1157..e6e379cabd2 100644 --- a/include/search.h +++ b/include/search.h @@ -27,13 +27,18 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: search.h,v 1.1 1993/10/21 20:53:14 jtc Exp $ + * $Id: search.h,v 1.2 1993/10/21 21:03:33 jtc Exp $ */ #ifndef _SEARCH_H_ #define _SEARCH_H_ - #include <sys/cdefs.h> +#include <machine/ansi.h> + +#ifdef _SIZE_T_ +typedef _SIZE_T_ size_t; +#undef _SIZE_T_ +#endif __BEGIN_DECLS extern void *bsearch __P((const void *, const void *, size_t, size_t, |
