Code clean-up.

This commit is contained in:
2020-10-24 04:23:01 +01:00
parent ac3b7f19c7
commit 3c6906afe9
22 changed files with 75 additions and 65 deletions

View File

@@ -18,17 +18,12 @@
#ifndef AARUREMOTE__AARUREMOTE_H_
#define AARUREMOTE__AARUREMOTE_H_
#include <stddef.h>
#include <stdint.h>
#ifdef GEKKO
#include <network.h>
#ifndef MSG_PEEK
#define MSG_PEEK 0x02 // TODO: Untested, may not work
#endif
#elif _WIN32
#include <ws2tcpip.h>
#else
#elif !defined(_WIN32)
#include <netinet/in.h>
#include <sys/socket.h>
#endif