diff --git a/src/serial.c b/src/serial.c index 21485d3..688f132 100644 --- a/src/serial.c +++ b/src/serial.c @@ -10,7 +10,11 @@ #include "unix.h" #include +#ifndef PSP #include +#else +#include "psp-un.h" +#endif /* Reuses userdata definition from unix.h, since it is useful for all diff --git a/src/unixdgram.c b/src/unixdgram.c index 69093d7..20c9829 100644 --- a/src/unixdgram.c +++ b/src/unixdgram.c @@ -12,7 +12,11 @@ #include #include +#ifndef PSP #include +#else +#include "psp-un.h" +#endif #define UNIXDGRAM_DATAGRAMSIZE 8192 diff --git a/src/unixstream.c b/src/unixstream.c index 02aced9..b5b0b8a 100644 --- a/src/unixstream.c +++ b/src/unixstream.c @@ -10,7 +10,11 @@ #include "unixstream.h" #include +#ifndef PSP #include +#else +#include "psp-un.h" +#endif /*=========================================================================*\ * Internal function prototypes