hopefully this doesn't break things on non-linux systems. OS X seems to be ok, not sure about others ;)
AC_HEADER_SYS_WAIT
AC_HEADER_DIRENT
AC_TYPE_SIGNAL
-AC_CHECK_HEADERS(stropts.h sys/time.h string.h unistd.h sys/systeminfo.h malloc.h)
+AC_CHECK_HEADERS(stropts.h sys/time.h string.h unistd.h sys/systeminfo.h)
AC_CHECK_HEADERS(fcntl.h sys/fcntl.h, break)
AC_CHECK_HEADERS(sys/socket.h lan/socket.h, break)
AC_CHECK_HEADER(stddef.h, [], AC_DEFINE(X_WCHAR, 1))
#include <stdio.h>
-#if HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
#if STDC_HEADERS
# include <stdlib.h>
# include <string.h>
#include <stdio.h>
#include <stdlib.h>
-#if HAVE_MALLOC_H
-#include <malloc.h>
-#endif
#include <string.h>
#include "common.h"
#include <stdlib.h>
#include <string.h>
-#if HAVE_MALLOC_H
- #include <malloc.h>
-#endif
-
#include "common.h"
#include "backend.h"
Boolean GetArgValue(char *a);