1
0
Fork 0
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:
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

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;