1 | /* |
2 | * LibXDiff by Davide Libenzi ( File Differential Library ) |
3 | * Copyright (C) 2003 Davide Libenzi |
4 | * |
5 | * This library is free software; you can redistribute it and/or |
6 | * modify it under the terms of the GNU Lesser General Public |
7 | * License as published by the Free Software Foundation; either |
8 | * version 2.1 of the License, or (at your option) any later version. |
9 | * |
10 | * This library is distributed in the hope that it will be useful, |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | * Lesser General Public License for more details. |
14 | * |
15 | * You should have received a copy of the GNU Lesser General Public |
16 | * License along with this library; if not, see |
17 | * <http://www.gnu.org/licenses/>. |
18 | * |
19 | * Davide Libenzi <davidel@xmailserver.org> |
20 | * |
21 | */ |
22 | |
23 | /* defines HAVE_ATTRIBUTE_UNUSED */ |
24 | #ifdef HAVE_CONFIG_H |
25 | # include "../auto/config.h" |
26 | #endif |
27 | |
28 | /* Mark unused function arguments with UNUSED, so that gcc -Wunused-parameter |
29 | * can be used to check for mistakes. */ |
30 | #ifdef HAVE_ATTRIBUTE_UNUSED |
31 | # define UNUSED __attribute__((unused)) |
32 | #else |
33 | # define UNUSED |
34 | #endif |
35 | |
36 | #if defined(_MSC_VER) |
37 | # define inline __inline |
38 | #endif |
39 | |
40 | #if !defined(XINCLUDE_H) |
41 | #define XINCLUDE_H |
42 | |
43 | #include <ctype.h> |
44 | #include <stdio.h> |
45 | #include <stdlib.h> |
46 | #if !defined(_WIN32) |
47 | #include <unistd.h> |
48 | #endif |
49 | #include <string.h> |
50 | #include <limits.h> |
51 | |
52 | #include "xmacros.h" |
53 | #include "xdiff.h" |
54 | #include "xtypes.h" |
55 | #include "xutils.h" |
56 | #include "xprepare.h" |
57 | #include "xdiffi.h" |
58 | #include "xemit.h" |
59 | |
60 | |
61 | #endif /* #if !defined(XINCLUDE_H) */ |
62 | |