-/* $NetBSD: hack.h,v 1.13 2009/06/29 23:05:33 dholland Exp $ */
+/* $NetBSD: hack.h,v 1.16 2011/08/06 20:18:26 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
#include "config.h"
#include <stdlib.h>
#include <string.h>
-
-#ifndef BSD
-#define index strchr
-#define rindex strrchr
-#endif /* BSD */
+#include <sys/time.h>
#define Null(type) ((struct type *) 0)
#include "def.rm.h"
#include "def.permonst.h"
-#define newstring(x) (char *) alloc((unsigned)(x))
+#define newstring(x) ((char *) alloc(x))
#include "hack.onames.h"
#define ON 1