OLD | NEW |
(Empty) | |
| 1 /////////////////////////////////////////////////////////////////////////////// |
| 2 // |
| 3 /// \file private.h |
| 4 /// \brief Common includes, definions, and prototypes |
| 5 // |
| 6 // Author: Lasse Collin |
| 7 // |
| 8 // This file has been put into the public domain. |
| 9 // You can do whatever you want with this file. |
| 10 // |
| 11 /////////////////////////////////////////////////////////////////////////////// |
| 12 |
| 13 #include "sysdefs.h" |
| 14 #include "mythread.h" |
| 15 #include "lzma.h" |
| 16 |
| 17 #include <sys/types.h> |
| 18 #include <sys/stat.h> |
| 19 #include <errno.h> |
| 20 #include <signal.h> |
| 21 #include <locale.h> |
| 22 #include <stdio.h> |
| 23 #include <unistd.h> |
| 24 |
| 25 #include "tuklib_gettext.h" |
| 26 #include "tuklib_progname.h" |
| 27 #include "tuklib_exit.h" |
| 28 |
| 29 #if defined(_WIN32) && !defined(__CYGWIN__) |
| 30 # define WIN32_LEAN_AND_MEAN |
| 31 # include <windows.h> |
| 32 #endif |
| 33 |
| 34 #ifndef STDIN_FILENO |
| 35 # define STDIN_FILENO (fileno(stdin)) |
| 36 #endif |
| 37 |
| 38 #ifndef STDOUT_FILENO |
| 39 # define STDOUT_FILENO (fileno(stdout)) |
| 40 #endif |
| 41 |
| 42 #ifndef STDERR_FILENO |
| 43 # define STDERR_FILENO (fileno(stderr)) |
| 44 #endif |
| 45 |
| 46 #include "main.h" |
| 47 #include "coder.h" |
| 48 #include "message.h" |
| 49 #include "args.h" |
| 50 #include "hardware.h" |
| 51 #include "file_io.h" |
| 52 #include "options.h" |
| 53 #include "signals.h" |
| 54 #include "suffix.h" |
| 55 #include "util.h" |
| 56 #include "list.h" |
OLD | NEW |