X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fhave.h;h=97d8d433fa32ea4fdb5dad6b04d77e731fe1735c;hb=34ea20af73a35cd918ce9dc25796bebf9493b49c;hp=88733a1e47edbd7485520c7ae607af97777a0344;hpb=14ccf509540e338502ad806f60bdc3f71ddce66f;p=tinc diff --git a/src/have.h b/src/have.h index 88733a1e..97d8d433 100644 --- a/src/have.h +++ b/src/have.h @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -41,6 +42,7 @@ #include #include #include +#include #ifdef HAVE_MINGW #include @@ -49,10 +51,6 @@ #include #endif -#ifdef HAVE_STDBOOL_H -#include -#endif - #ifdef HAVE_TERMIOS_H #include #endif @@ -71,9 +69,6 @@ #include #endif -#ifdef HAVE_TIME_H -#include -#endif #ifdef HAVE_SYS_TYPES_H #include @@ -103,10 +98,6 @@ #include #endif -#ifdef HAVE_SYS_UIO_H -#include -#endif - #ifdef HAVE_SYS_UN_H #include #endif @@ -210,6 +201,12 @@ #include #endif +#ifdef HAVE_GETOPT_H +#include +#else +#include "getopt.h" +#endif + #ifdef STATUS #undef STATUS #endif