-/* $OpenBSD: includes.h,v 1.14 2001/01/29 01:58:16 niklas Exp $ */
+/* $OpenBSD: includes.h,v 1.15 2001/06/08 15:25:40 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
#include <sys/ioctl.h>
#include <sys/wait.h>
#include <sys/resource.h>
+#include <sys/utsname.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#ifdef HAVE_GETOPT_H
# include <getopt.h>
#endif
+#ifndef HAVE_GETOPT_OPTRESET
+#define getopt(ac, av, o) BSDgetopt(ac, av, o)
+#endif
#ifdef HAVE_BSTRING_H
# include <bstring.h>
#endif
-#if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC)
+#if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) && \
+ defined(GLOB_HAS_GL_MATCHC)
# include <glob.h>
#endif
#ifdef HAVE_NETGROUP_H
#ifdef HAVE_UTIME_H
# include <utime.h>
#endif
-#ifdef HAVE_VIS_H
-# include <vis.h>
-#endif
#include "version.h"
#include "openbsd-compat/openbsd-compat.h"
#include "openbsd-compat/bsd-cygwin_util.h"