#include <ctype.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
//#include <script/seer.h>
#define IAMNOTEIC
#include <script/eic.h>
/* bastard includes */
#include <bastard.h>
#include <bdb.h>
#include <db/db.h>
#include <script/macro.h>

/* the following are necessary due to some screwy shit in eic.h ...
 * eic.h is required to link to libeic.a, but insists on redefining
 * calloc() and stuff on the off chance it is being included from
 * within a script.... */

#undef malloc(x) xmalloc(x)
#undef calloc(x,y)  xcalloc(x,y)
#undef free(x)      xfree(x)
#undef realloc(x,y)    xrealloc(x,y)

