mirror of
https://github.com/upa/mscp.git
synced 2026-02-14 00:54:43 +08:00
linux also needs stdlib.h for random()
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifdef __APPLE__
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/sysctl.h>
|
||||
#elif linux
|
||||
@@ -9,6 +8,8 @@
|
||||
#error unsupported platform
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <util.h>
|
||||
#include <platform.h>
|
||||
#include <message.h>
|
||||
|
||||
Reference in New Issue
Block a user