#include <curses.h>
#ifdef SYSV
-#define index strchr
-#define rindex strrchr
#define bcopy(a,b,c) memcpy((b), (a), (c))
#define bzero(a,b) memset((a), '\0', (b))
#define srandom srand
* <sys/time.h> <time.h>
* <sgtty.h> <termio.h>
* Some routines are called differently
- * index strchr
- * rindex strrchr
* Also, the code for suspend and various ioctls is only given for BSD4.2
* (I do not have access to a SYSV system.)
*/
#include "config.h"
#include <string.h>
-#ifndef BSD
-#define index strchr
-#define rindex strrchr
-#endif BSD
-
#define Null(type) ((struct type *) 0)
#include "def.objclass.h"