Skip to content
Snippets Groups Projects
Commit d29469f2 authored by Dmitry E. Oboukhov's avatar Dmitry E. Oboukhov
Browse files

#442 try to fix BSD/MacOS build bug: define _POSIX_SOURCE before headers.

parent 3dde7eae
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
* THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#define _POSIX_SOURCE
#include "lua/fio.h" #include "lua/fio.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment