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 ///////////////////////////////////////////////////////////////////////////////
17 #include <sys/types.h>
25 #include "tuklib_gettext.h"
26 #include "tuklib_progname.h"
27 #include "tuklib_exit.h"
28 #include "tuklib_mbstr.h"
30 #if defined(_WIN32) && !defined(__CYGWIN__)
31 # define WIN32_LEAN_AND_MEAN
36 # define STDIN_FILENO (fileno(stdin))
40 # define STDOUT_FILENO (fileno(stdout))
44 # define STDERR_FILENO (fileno(stderr))