We must include the file that has _FILE_OFFSET_SIZE before other headers
To get the correct definition for _FILE_OFFSET_SIZE we must include the header that loads this before calling the other system headers. This patch also fixes a minor spacing issues.
This commit is contained in:
parent
d9253e77c9
commit
7eb60c9802
|
|
@ -16,10 +16,10 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "sys_priv.h"
|
||||
#include <assert.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdlib.h>
|
||||
#include "sys_priv.h"
|
||||
#include "ivl_alloc.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -16,12 +16,12 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "sys_priv.h"
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "sys_priv.h"
|
||||
#include "table_mod.h"
|
||||
#include "ivl_alloc.h"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue