]> icculus.org git repositories - icculus/xz.git/blob - src/lzma/private.h
Imported to git.
[icculus/xz.git] / src / lzma / private.h
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file       private.h
4 /// \brief      Common includes, definions, and prototypes
5 //
6 //  Copyright (C) 2007 Lasse Collin
7 //
8 //  This program is free software; you can redistribute it and/or
9 //  modify it under the terms of the GNU Lesser General Public
10 //  License as published by the Free Software Foundation; either
11 //  version 2.1 of the License, or (at your option) any later version.
12 //
13 //  This program is distributed in the hope that it will be useful,
14 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 //  Lesser General Public License for more details.
17 //
18 ///////////////////////////////////////////////////////////////////////////////
19
20 #ifndef PRIVATE_H
21 #define PRIVATE_H
22
23 #include "sysdefs.h"
24
25 #ifdef HAVE_ERRNO_H
26 #       include <errno.h>
27 #else
28 extern int errno;
29 #endif
30
31 #include <sys/stat.h>
32 #include <limits.h>
33 #include <signal.h>
34 #include <pthread.h>
35 #include <locale.h>
36 #include <stdio.h>
37 #include <fcntl.h>
38 #include <unistd.h>
39
40 #include "gettext.h"
41 #define _(msgid) gettext(msgid)
42 #define N_(msgid1, msgid2, n) ngettext(msgid1, msgid2, n)
43
44 #include "alloc.h"
45 #include "args.h"
46 #include "error.h"
47 #include "hardware.h"
48 #include "help.h"
49 #include "io.h"
50 #include "options.h"
51 #include "process.h"
52 #include "suffix.h"
53 #include "util.h"
54
55 #endif