mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix warnings
`_FILE_OFFSET_BITS` should be defined before system headers.
This commit is contained in:
parent
a506b7f35a
commit
b11d739444
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue