Skip to content

Commit

Permalink
Fix build on Fedora (#179)
Browse files Browse the repository at this point in the history
* Include time.h to fix broken Linux build

* clean lint trap

* Weird that pthread is missing here
  • Loading branch information
chuma authored Oct 21, 2022
1 parent d570e23 commit 9b0d16c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ elseif ( ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} STREQUAL
fltk_images
fltk_png
fltk_z
pthread
pulse # sound
)
target_link_libraries ( EinsteinTests
Expand Down
1 change: 1 addition & 0 deletions Emulator/ROM/TAIFROMImageWithREXes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <time.h>

#if TARGET_OS_WIN32
#include <Windows.h>
Expand Down
1 change: 1 addition & 0 deletions Emulator/ROM/TFlatROMImageWithREX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <time.h>

#if TARGET_OS_WIN32
#include <Windows.h>
Expand Down

0 comments on commit 9b0d16c

Please sign in to comment.