Move int includes to hydra-mod and add includes.

This makes the code compile on OSX.
This commit is contained in:
Dario Lombardo 2017-08-19 00:50:17 +02:00
parent ad8f77bbf1
commit 35ece53d3b
3 changed files with 13 additions and 8 deletions

View file

@ -3,6 +3,14 @@
#include "hydra.h"
#ifdef __sun
#include <sys/int_types.h>
#elif defined(__FreeBSD__) || defined(__IBMCPP__) || defined(_AIX)
#include <inttypes.h>
#else
#include <stdint.h>
#endif
extern char quiet;
extern void hydra_child_exit(int32_t code);