mirror of https://github.com/mgba-emu/mgba.git
All: Fix *nix build
This commit is contained in:
parent
5d1b05c990
commit
a0b94db9a7
|
@ -5,7 +5,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#include "gdb-stub.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
|
||||
#ifndef SIGTRAP
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#define SOCKET_FAILED(s) ((s) == INVALID_SOCKET)
|
||||
typedef SOCKET Socket;
|
||||
#else
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
|
|
Loading…
Reference in New Issue