Skip to content

Commit a04005c

Browse files
Update sanity.c
1 parent 25518ff commit a04005c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

code/logic/sanity.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
* -----------------------------------------------------------------------------
1414
*/
1515
#include "fossil/pizza/sanity.h"
16+
#define _POSIX_C_SOURCE 200809L
17+
18+
#include <stdlib.h> // getenv, setenv
19+
#include <time.h> // localtime_r, strftime
20+
#include <sys/time.h> // gettimeofday
21+
#include <signal.h> // kill, SIGTERM
22+
#include <unistd.h> // kill (sometimes needed explicitly)
23+
1624
#ifdef _WIN32
1725
#include <windows.h>
1826
#else

0 commit comments

Comments
 (0)