]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/xz/src/xz/private.h
MFC: xz 5.2.2.
[FreeBSD/stable/10.git] / contrib / xz / src / xz / private.h
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
16 #include "lzma.h"
17
18 #include <sys/types.h>
19 #include <sys/stat.h>
20 #include <errno.h>
21 #include <signal.h>
22 #include <locale.h>
23 #include <stdio.h>
24 #include <unistd.h>
25
26 #include "tuklib_gettext.h"
27 #include "tuklib_progname.h"
28 #include "tuklib_exit.h"
29 #include "tuklib_mbstr.h"
30
31 #if defined(_WIN32) && !defined(__CYGWIN__)
32 #       define WIN32_LEAN_AND_MEAN
33 #       include <windows.h>
34 #endif
35
36 #ifndef STDIN_FILENO
37 #       define STDIN_FILENO (fileno(stdin))
38 #endif
39
40 #ifndef STDOUT_FILENO
41 #       define STDOUT_FILENO (fileno(stdout))
42 #endif
43
44 #ifndef STDERR_FILENO
45 #       define STDERR_FILENO (fileno(stderr))
46 #endif
47
48 #include "main.h"
49 #include "mytime.h"
50 #include "coder.h"
51 #include "message.h"
52 #include "args.h"
53 #include "hardware.h"
54 #include "file_io.h"
55 #include "options.h"
56 #include "signals.h"
57 #include "suffix.h"
58 #include "util.h"
59 #include "list.h"