Fix warnings

`_FILE_OFFSET_BITS` should be defined before system headers.
This commit is contained in:
Nobuyoshi Nakada 2019-08-28 16:40:57 +09:00
parent a506b7f35a
commit b11d739444
No known key found for this signature in database
GPG Key ID: 4BC7D6DF58D8DF60
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,5 @@
#define _POSIX_C_SOURCE 200809L
#include "ruby/config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -7,7 +8,6 @@
#include <sys/stat.h>
#include "ruby-runner.h"
#include "ruby/config.h"
#ifdef MAKE_MJIT_BUILD_DIR
const char MJIT_HEADER[] = BUILDDIR "/" MJIT_MIN_HEADER;