author | llornkcor <llornkcor> | 2002-09-14 03:10:21 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-09-14 03:10:21 (UTC) |
commit | a17482a473c90c7e030bbf7a03b252fdaf53c2ed (patch) (side-by-side diff) | |
tree | f97827d63f6a8d40ad9df7bc96907a2bdcfc3be2 | |
parent | 2f55be65436cb05a8580f4a436f94bce9de48da7 (diff) | |
download | opie-a17482a473c90c7e030bbf7a03b252fdaf53c2ed.zip opie-a17482a473c90c7e030bbf7a03b252fdaf53c2ed.tar.gz opie-a17482a473c90c7e030bbf7a03b252fdaf53c2ed.tar.bz2 |
zlib.h include dir change
-rw-r--r-- | noncore/apps/opie-reader/ZText.h | 2 | ||||
-rw-r--r-- | noncore/apps/opie-reader/plucker.h | 2 | ||||
-rw-r--r-- | noncore/apps/opie-reader/ztxt.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/opie-reader/ZText.h b/noncore/apps/opie-reader/ZText.h index 9e72161..debfe8c 100644 --- a/noncore/apps/opie-reader/ZText.h +++ b/noncore/apps/opie-reader/ZText.h @@ -1,28 +1,28 @@ #ifndef __Text_h #define __Text_h #include <stdio.h> -#include <zlib.h> +#include "zlib/zlib.h" #include <sys/stat.h> #include "CExpander.h" class Text: public CExpander { gzFile file; unsigned long fsize; public: Text() : file(NULL) {}; virtual ~Text() { if (file != NULL) gzclose(file); } virtual int openfile(const char *src) { if (file != NULL) gzclose(file); struct stat _stat; stat(src,&_stat); fsize = _stat.st_size; return ((file = gzopen(src,"rb")) == NULL); } virtual int getch() { return gzgetc(file); } virtual unsigned int locate() { return gztell(file); } virtual void locate(unsigned int n) { gzseek(file,n,SEEK_SET); } diff --git a/noncore/apps/opie-reader/plucker.h b/noncore/apps/opie-reader/plucker.h index 84e855c..d3ca732 100644 --- a/noncore/apps/opie-reader/plucker.h +++ b/noncore/apps/opie-reader/plucker.h @@ -1,29 +1,29 @@ #ifndef __plucker_h #define __plucker_h #include "CExpander.h" -#include <zlib.h> +#include "zlib/zlib.h" #include "ztxt.h" #include "pdb.h" #include "CBuffer.h" struct CPlucker_dataRecord { UInt16 uid; UInt16 nParagraphs; UInt16 size; UInt8 type; UInt8 reserved; }; struct CPlucker_record0 { UInt16 uid; UInt16 version; UInt16 nRecords; }; struct CPluckerbkmk { UInt32 offset; tchar title[MAX_BMRK_LENGTH]; diff --git a/noncore/apps/opie-reader/ztxt.h b/noncore/apps/opie-reader/ztxt.h index 7be45c0..20558a6 100644 --- a/noncore/apps/opie-reader/ztxt.h +++ b/noncore/apps/opie-reader/ztxt.h @@ -1,29 +1,29 @@ #ifndef __ztxt_h #define __ztxt_h #include "CExpander.h" -#include <zlib.h> +#include "zlib/zlib.h" #include "pdb.h" /* * Stuff common to both Weasel Reader and makeztxt * * $Id$ * */ #ifndef _WEASEL_COMMON_H_ #define _WEASEL_COMMON_H_ 1 /* Padding is no good */ #if defined(__GNUC__) && defined(__UNIX__) # pragma pack(2) #endif /* The default creator is Weasel Reader 'GPlm' */ #define GPLM_CREATOR_ID "GPlm" /* Databases of type 'zTXT' */ #define ZTXT_TYPE_ID "zTXT" /* Size of one database record */ #define RECORD_SIZE 8192 /* Allow largest WBIT size for data. Lower with command line options |