tt/mini_isam: use proper include, get rid of ultrix strdup

This commit is contained in:
Jon Trulson
2018-06-30 18:57:17 -06:00
parent 392356f6b4
commit bc7e64195e
2 changed files with 1 additions and 48 deletions

View File

@@ -42,13 +42,7 @@ static char sccsid[] = "@(#)isalloc.c 1.3 89/07/17 Copyr 1988 Sun Micro";
#include "isam_impl.h"
#include <stdlib.h>
/* strdup is not defined in Ultrix' string.h, so it is implemented in a separate
* file named strdup.ultrix.c
*/
#ifdef __ultrix__
extern char *strdup();
#endif
#include <string.h>
/*
* _ismalloc(nbytes)