mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 12:28:21 +01:00
use psp-un header when building for psp
This commit is contained in:
parent
bfb76ff2b6
commit
68c6e7d6b2
@ -10,7 +10,11 @@
|
||||
#include "unix.h"
|
||||
|
||||
#include <string.h>
|
||||
#ifndef PSP
|
||||
#include <sys/un.h>
|
||||
#else
|
||||
#include "psp-un.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
Reuses userdata definition from unix.h, since it is useful for all
|
||||
|
@ -12,7 +12,11 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef PSP
|
||||
#include <sys/un.h>
|
||||
#else
|
||||
#include "psp-un.h"
|
||||
#endif
|
||||
|
||||
#define UNIXDGRAM_DATAGRAMSIZE 8192
|
||||
|
||||
|
@ -10,7 +10,11 @@
|
||||
#include "unixstream.h"
|
||||
|
||||
#include <string.h>
|
||||
#ifndef PSP
|
||||
#include <sys/un.h>
|
||||
#else
|
||||
#include "psp-un.h"
|
||||
#endif
|
||||
|
||||
/*=========================================================================*\
|
||||
* Internal function prototypes
|
||||
|
Loading…
Reference in New Issue
Block a user