mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Fix issues building on some Linux systems
- include sys/types.h and strings for DKRgzip - link with pthread for std::thread on some systems
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ $(BUILD_DIR)/%.o: %.cpp
|
||||
$(CXX) -c $< -o $@ $(CXXFLAGS)
|
||||
|
||||
dkr_assets_tool: $(dkr_assets_tool_OBJ_FILES)
|
||||
$(CXX) $^ -o $@ $(CXXFLAGS) $(LDFLAGS)
|
||||
$(CXX) $^ -o $@ $(CXXFLAGS) $(LDFLAGS) -lpthread
|
||||
|
||||
.PHONY: all clean distclean default
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <sys/types.h>
|
||||
#include "DKRGzip.h"
|
||||
|
||||
/******************************/
|
||||
|
||||
Reference in New Issue
Block a user