Quantcast
Channel: PCSX-Reloaded
Viewing all articles
Browse latest Browse all 2368

Commented Unassigned: Missing includes [12408]

$
0
0
When compiling 1.9.93 for Linux, I got an error saying:
GtkGui.c:873:2: error: implicit declaration of function 'LidInterrupt' [-Werror=implicit-function-declaration]

It seems that GtkGui.c doesn't include "../libpcsxcore/cdrom.h", which is where it's defined.

EDIT: It seems that <sys/types.h> and <sys/wait.h> is also needed for all uses of waitpid and execl. I made a patch based on 1.9.94:

https://dl.dropboxusercontent.com/u/42480493/pcsxr-1.9.94-missinginclude.patch

Or the attacehd pcsxr-1.9.94-missingincludes-final.patch
Comments: Updated issue description, new patch

Viewing all articles
Browse latest Browse all 2368

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>