-/* $NetBSD: setup.c,v 1.5 1997/01/07 12:20:39 tls Exp $ */
+/* $NetBSD: setup.c,v 1.7 1997/10/13 02:18:37 lukem Exp $ */
/*
* setup.c - set up all files for Phantasia
*/
#include <sys/param.h>
#include <sys/stat.h>
-#include <stdlib.h>
-#include <unistd.h>
#include "include.h"
/*\f*/
/************************************************************************
int ch;
char path[MAXPATHLEN], *prefix;
- while ((ch = getopt(argc, argv, "m:")) != EOF)
+ while ((ch = getopt(argc, argv, "m:")) != -1)
switch(ch) {
case 'm':
monsterfile = optarg;