$NetBSD$

--- detex.l.orig	2008-11-19 20:20:18.000000000 -0500
+++ detex.l	2008-11-19 20:20:54.000000000 -0500
@@ -59,9 +59,7 @@
 #ifndef MAXPATHLEN
 #include <sys/param.h>
 #endif
-#ifdef OS2
 #include <stdlib.h>
-#endif
 
 #define	LaBEGIN		if (fLatex) BEGIN
 #define	IGNORE		if (fSpace && !fWord) putchar(' ')
@@ -73,9 +71,6 @@
 #define	CITE(x)		if (fLatex && !fCite) KILLARGS(x)
 
 char	*SafeMalloc();
-#ifndef NO_MALLOC_DECL
-char	*malloc();
-#endif
 #ifdef OS2
 void	yyless(int);
 #endif
