Fix build against C++

This commit is contained in:
Jeffrey Pfau 2014-07-20 16:37:54 -07:00
parent e77238e5ef
commit d48dad27d1
2 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,7 @@
#include "arm.h"
const uint32_t ARM_DEBUGGER_ID;
extern const uint32_t ARM_DEBUGGER_ID;
enum DebuggerState {
DEBUGGER_PAUSED,

View File

@ -3,6 +3,10 @@
#include "common.h"
#ifdef __cplusplus
#define restrict __restrict__
#endif
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>