use psp-un header when building for psp

This commit is contained in:
Dima Pulkinen 2024-02-29 11:52:39 +02:00
parent bfb76ff2b6
commit 68c6e7d6b2
3 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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