403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.168
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/games/spring/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/games/spring/files/patch-rts_System_Platform_Misc.cpp
--- rts/System/Platform/Misc.cpp.orig	2021-01-01 16:12:22 UTC
+++ rts/System/Platform/Misc.cpp
@@ -29,7 +29,9 @@
 	#include <mach-o/dyld.h>
 
 #elif defined( __FreeBSD__)
+	#include <sys/types.h>
 	#include <sys/sysctl.h>
+	#include <ifaddrs.h>
 
 #else
 
@@ -714,7 +716,7 @@ namespace Platform
 		return (GetMacType(macAddr, 0), macAddr);
 	}
 
-	#elif defined(__APPLE__)
+	#elif defined(__APPLE__) || defined (__FreeBSD__)
 
 	std::array<uint8_t, 6> GetRawMacAddr() {
 		// TODO: http://lists.freebsd.org/pipermail/freebsd-hackers/2004-June/007415.html

Youez - 2016 - github.com/yon3zu
LinuXploit