mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Try to make it more portable for BSD
This commit is contained in:
parent
95286408ed
commit
09da302b8d
@ -2113,7 +2113,7 @@ static uint64_t frontend_unix_get_mem_total(void)
|
||||
|
||||
static uint64_t frontend_unix_get_mem_free(void)
|
||||
{
|
||||
#ifdef ANDROID
|
||||
#if defined(ANDROID) || (!defined(__linux__) && !defined(__OpenBSD__))
|
||||
char line[256];
|
||||
uint64_t total = 0;
|
||||
uint64_t freemem = 0;
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include "SDL.h"
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) || defined(HAVE_WAYLAND)
|
||||
#if defined(__linux__) || defined(__linux__) && defined(HAVE_WAYLAND)
|
||||
#include <linux/input.h>
|
||||
#include <linux/kd.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user