diff options
author | miau <miaukatzemiau@priveasy.de> | 2011-12-01 14:13:35 (GMT) |
---|---|---|
committer | miau <miaukatzemiau@priveasy.de> | 2011-12-01 14:13:35 (GMT) |
commit | b4b4c79cf6276e8d2cb851f4ea3d40102d11c5a4 (patch) | |
tree | a6d27d9602d0e9492bb69b9eb83a1dd08f0ab2b0 /src/common.h | |
parent | e99b31fcedd2e4b453b3023ea5cd8662fc335c9b (diff) |
change to IPv6
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 9 |
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 |