1 ///////////////////////////////////////////////////////////////////////////////
4 /// \brief Common includes, definions, and prototypes
6 // Author: Lasse Collin
8 // This file has been put into the public domain.
9 // You can do whatever you want with this file.
11 ///////////////////////////////////////////////////////////////////////////////
18 #include <sys/types.h>
26 #include "tuklib_gettext.h"
27 #include "tuklib_progname.h"
28 #include "tuklib_exit.h"
29 #include "tuklib_mbstr.h"
31 #if defined(_WIN32) && !defined(__CYGWIN__)
32 # define WIN32_LEAN_AND_MEAN
37 # define STDIN_FILENO (fileno(stdin))
41 # define STDOUT_FILENO (fileno(stdout))
45 # define STDERR_FILENO (fileno(stderr))
49 # define ENABLE_SANDBOX 1