mchoccac / snes9x-gtk

Automatically exported from code.google.com/p/snes9x-gtk
0 stars 0 forks source link

Doesn't compile on GCC 4.4.3 x86_64(maybe x86 too) #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. configure
2. compile with GCC 4.4.3(Maybe x64 only?)

../screenshot.cpp: In function ‘bool8 S9xDoScreenshot(int, int)’:
../screenshot.cpp:212: error: ‘unlink’ was not declared in this scope
../screenshot.cpp:222: error: ‘unlink’ was not declared in this scope
../screenshot.cpp:231: error: ‘unlink’ was not declared in this scope

Original issue reported on code.google.com by MetroidC...@gmail.com on 30 Jan 2010 at 6:02

GoogleCodeExporter commented 9 years ago
Compile order must have changed, revealing this bug. Add #include <unistd.h> to 
the
headers in screenshot.cpp.

Original comment by bear...@gmail.com on 31 Jan 2010 at 9:19