Skip to content

Commit

Permalink
Fix building
Browse files Browse the repository at this point in the history
  • Loading branch information
cfnptr committed Oct 26, 2024
1 parent f9fc93e commit 469cf25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/os.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
// limitations under the License.

#include "mpio/os.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#if __linux__ || __APPLE__
#include <time.h>
Expand All @@ -28,7 +31,6 @@
#endif

#if __linux__
#include <stdio.h>
#include <sys/sysinfo.h>
#elif __APPLE__
#include <sys/sysctl.h>
Expand Down

0 comments on commit 469cf25

Please sign in to comment.