-/* $NetBSD: setup.c,v 1.20 2009/05/27 17:44:38 dholland Exp $ */
+/* $NetBSD: setup.c,v 1.22 2017/10/02 22:03:10 joerg Exp $ */
/*
* setup.c - set up all files for Phantasia
#include <sys/cdefs.h>
#endif
-#include <sys/param.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include "include.h"
+#include <setjmp.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <time.h>
+#include <unistd.h>
+
+#ifndef __dead /* Not NetBSD */
+#define __dead
+#endif
+
+#include "phantdefs.h"
+#include "phantstruct.h"
+#include "phantglobs.h"
+#include "pathnames.h"
int main(int, char *[]);
void Error(const char *, const char *) __dead;