summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index c64c764..0274856 100644
--- a/src/common.h
+++ b/src/common.h
@@ -1,6 +1,15 @@
#ifndef UDP_BROADCAST_COMMON
#define UDP_BROADCAST_COMMON
+#include <arpa/inet.h>
+#include <errno.h>
+#include <netinet/in.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/socket.h>
+#include <sys/types.h>
+
#define SERVERPORT 4950 // the port users will be connecting to
#define SERVERPORT_S "4950"
#define MAXBUFLEN 100
contact: Jan Huwald // Impressum