@@ -36,6 +36,8 @@
#include <arpa/inet.h>
#include <netinet/in.h>
#include <pthread.h>
+#include <fcntl.h>
+
#define DEBUG_LEVEL 5
@@ -43,8 +45,6 @@
#define MSG_INFO 1 // Information which is generally useful to any user
#define MSG_DEBUG 2 // Information which is only useful to someone debugging
-#include "Common.h"
-
#ifdef NETCON_INTERCEPT
extern pthread_mutex_t loglock;
@@ -1,30 +0,0 @@
-#ifndef _COMMON_H_
-#define _COMMON_H_
-//#include <unistd.h>
-#include <sys/ioctl.h>
-#include <stdlib.h>
-#include <sys/wait.h>
-#include <stdarg.h>
-#include <sys/stat.h>
-#include <sys/ipc.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <stdio.h>
-#include <string.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <time.h>
-#include <assert.h>
-#include <signal.h>
-#include <sys/socket.h>
-/*
-void set_log_options(int, char *, int);
-void show_msg(int level, char *, ...);
-unsigned int resolve_ip(char *, int, int);
-*/
-#endif