#ifndef SILCINCLUDES_H
#define SILCINCLUDES_H
-/* Automatically generated configuration header */
-#include "silcdefs.h"
-
#ifdef __cplusplus
extern "C" {
#endif
+#define SILC_UNIX
+
#ifdef WIN32
#ifndef SILC_WIN32
#define SILC_WIN32
+#undef SILC_UNIX
#endif
#endif
#if defined(__EPOC32__)
#ifndef SILC_EPOC
#define SILC_EPOC
+#undef SILC_UNIX
#endif
#endif
#ifdef BEOS
#ifndef SILC_BEOS
#define SILC_BEOS
+#undef SILC_UNIX
#endif
#elif defined(__BEOS__)
#ifndef SILC_BEOS
#define SILC_BEOS
+#undef SILC_UNIX
#endif
#endif
#if defined(OS2)
#ifndef SILC_OS2
#define SILC_OS2
+#undef SILC_UNIX
#endif
#endif
+/* Automatically generated configuration header */
+#include "silcdefs.h"
+
/* Platform specific includes */
#ifdef SILC_WIN32
#include <stddef.h>
#endif
+#ifdef HAVE_TERMIOS_H
+#include <termios.h>
+#endif
+
#endif /* !SILC_WIN32 */
#ifndef HAVE_GETOPT_LONG