fix linux build
This commit is contained in:
parent
320057d588
commit
8cd3d71229
@ -85,6 +85,7 @@ EIO_CPPFLAGS += -DEIO_CONFIG_H=\"$(EIO_CONFIG)\"
|
||||
EIO_CPPFLAGS += -DEIO_STACKSIZE=65536
|
||||
EIO_CPPFLAGS += -D_LARGEFILE_SOURCE
|
||||
EIO_CPPFLAGS += -D_FILE_OFFSET_BITS=64
|
||||
EIO_CPPFLAGS += -D_GNU_SOURCE
|
||||
|
||||
eio/eio.o: eio/eio.c
|
||||
$(CC) $(EIO_CPPFLAGS) $(CFLAGS) -c eio/eio.c -o eio/eio.o
|
||||
|
||||
@ -24,6 +24,9 @@
|
||||
#include <stddef.h>
|
||||
#include <time.h>
|
||||
|
||||
#undef NANOSEC
|
||||
#define NANOSEC 1000000
|
||||
|
||||
/*
|
||||
* There's probably some way to get time from Linux than gettimeofday(). What
|
||||
* it is, I don't know.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user