Skip to content

Commit

Permalink
macos.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jun 9, 2023
1 parent c3ce4cd commit d3d858a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/io.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Copyright 2019-2023, by XGBoost Contributors
*/
#if defined(__unix__)
#if defined(__unix__) || defined(__APPLE__)
#include <fcntl.h> // for open, O_RDONLY
#include <sys/mman.h> // for mmap, mmap64, munmap
#include <sys/stat.h>
Expand Down

0 comments on commit d3d858a

Please sign in to comment.