#include <grp.h>
#endif
-#if defined(HAVE_GETOPT_H) && defined(HAVE_GETOPT)
-#include <getopt.h>
-#else
-#if defined(HAVE_SILCDEFS_H)
-#include "getopti.h"
-#endif /* HAVE_SILCDEFS_H */
-#endif
-
#ifdef SOCKS5
#include "socks.h"
#endif
#include <limits.h>
#endif
-#ifndef HAVE_REGEX_H
-#if defined(HAVE_SILCDEFS_H)
-#include "regexpr.h"
-#endif /* HAVE_SILCDEFS_H */
-#else
-#include <regex.h>
-#endif
-
#ifdef SILC_HAVE_PTHREAD
#include <pthread.h>
#endif
#endif /* SILC_DIST_SSH */
/* More SILC util library includes */
+#include "silcregex.h"
#include "silcenv.h"
#include "silcdll.h"
#include "silchashtable.h"