comparison src/pst2dii.cpp.in @ 123:ab2a11e72250

more cleanup of #include files. common.h is the only file allowed to include system .h files unprotected by autoconf HAVE_ symbols. define.h is the only other file allowed to include system .h files. define.h is never installed; common.h is installed if we are building the shared library.
author Carl Byington <carl@five-ten-sg.com>
date Tue, 03 Feb 2009 10:59:10 -0800
parents 6395ced2b8b2
children fc11b1d1ad34
comparison
equal deleted inserted replaced
122:bdb38b434c0a 123:ab2a11e72250
5 http://www.fsf.org/licenses/gpl.txt 5 http://www.fsf.org/licenses/gpl.txt
6 6
7 Based on readpst.c by David Smith 7 Based on readpst.c by David Smith
8 8
9 */ 9 */
10 #include <gd.h>
11 #include <stdio.h>
12 #include <iostream> 10 #include <iostream>
13 #include <unistd.h>
14 #include <string> 11 #include <string>
15 #include <vector> 12 #include <vector>
16 13
17 using namespace std; 14 using namespace std;
18 15
19 extern "C" { 16 extern "C" {
20 #include "define.h"
21 #include "common.h" 17 #include "common.h"
22 #include "libpst.h" 18 #include "libpst.h"
23 #include "timeconv.h" 19 #include "timeconv.h"
20 #include "libstrfunc.h"
21
22 #include "define.h"
24 #include "lzfu.h" 23 #include "lzfu.h"
25 #include "libstrfunc.h"
26 } 24 }
27 25
28 struct file_ll { 26 struct file_ll {
29 string name; 27 string name;
30 int32_t stored_count; 28 int32_t stored_count;