/*
have.h -- include headers which are known to exist
Copyright (C) 1998-2005 Ivo Timmermans
- 2003-2013 Guus Sliepen <guus@tinc-vpn.org>
+ 2003-2016 Guus Sliepen <guus@tinc-vpn.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#define __TINC_HAVE_H__
#ifdef HAVE_MINGW
-#ifdef WITH_WINDOWS2000
-#define WINVER Windows2000
-#else
#define WINVER WindowsXP
-#endif
#define WIN32_LEAN_AND_MEAN
#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <stdbool.h>
#include <string.h>
#include <ctype.h>
#include <signal.h>
#include <unistd.h>
#include <limits.h>
#include <math.h>
+#include <time.h>
#ifdef HAVE_MINGW
#include <w32api.h>
#include <ws2tcpip.h>
#endif
-#ifdef HAVE_STDBOOL_H
-#include <stdbool.h>
-#endif
-
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
#include <sys/time.h>
#endif
-#ifdef HAVE_TIME_H
-#include <time.h>
-#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#include <sys/resource.h>
#endif
-#ifdef HAVE_SYS_UIO_H
-#include <sys/uio.h>
-#endif
-
#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
#endif
#include <linux/if_tun.h>
#endif
+#ifdef HAVE_GETOPT_H
+#include <getopt.h>
+#else
+#include "getopt.h"
+#endif
+
#ifdef STATUS
#undef STATUS
#endif