use psp-un header when building for psp
This commit is contained in:
parent
bfb76ff2b6
commit
68c6e7d6b2
3 changed files with 12 additions and 0 deletions
|
@ -10,7 +10,11 @@
|
||||||
#include "unix.h"
|
#include "unix.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#ifndef PSP
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
#else
|
||||||
|
#include "psp-un.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Reuses userdata definition from unix.h, since it is useful for all
|
Reuses userdata definition from unix.h, since it is useful for all
|
||||||
|
|
|
@ -12,7 +12,11 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#ifndef PSP
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
#else
|
||||||
|
#include "psp-un.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define UNIXDGRAM_DATAGRAMSIZE 8192
|
#define UNIXDGRAM_DATAGRAMSIZE 8192
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,11 @@
|
||||||
#include "unixstream.h"
|
#include "unixstream.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#ifndef PSP
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
#else
|
||||||
|
#include "psp-un.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*=========================================================================*\
|
/*=========================================================================*\
|
||||||
* Internal function prototypes
|
* Internal function prototypes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue