#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h>
#include <string.h>
#include <stdarg.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/time.h>
#include <time.h>
#ifdef HAVE_SIGNAL_H
#ifndef SILC_WIN32
+#include <unistd.h>
+#include <sys/time.h>
#include <pwd.h>
#include <grp.h>
#include <sys/times.h>
#define SILCWIN32_H
#include <windows.h>
-#include <dir.h>
#include <io.h>
#define snprintf _snprintf
#include "silcincludes.h"
/* Heartbeat context */
-struct SilcSocketConnectionHB {
+struct SilcSocketConnectionHBStruct {
uint32 heartbeat;
SilcSocketConnectionHBCb hb_callback;
void *hb_context;
* interface routines.
*
***/
-typedef struct SilcSocketConnectionHB *SilcSocketConnectionHB;
+typedef struct SilcSocketConnectionHBStruct *SilcSocketConnectionHB;
/****d* silcutil/SilcSocketConnectionAPI/SilcSocketType
*