Fixed building on Ubuntu Trusty.

This commit is contained in:
Pietro Gagliardi 2019-05-02 02:01:42 -04:00
parent 796a9cf010
commit 99a0f9084c
2 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,8 @@
// 28 april 2019
// TODO pin down minimum POSIX versions (depends on what macOS 10.8 conforms to and what GLib/GTK+ require)
// TODO feature test macros for things like monotonic clocks?
// TODO is this needed in this file specifically, or just in testing_unix.c?
#define _POSIX_C_SOURCE 200112L
#include <errno.h>
#include <inttypes.h>
#include <setjmp.h>

View File

@ -1,4 +1,5 @@
// 23 april 2019
#define _POSIX_C_SOURCE 200112L
#include <stdlib.h>
#include <string.h>
#include <time.h>