summaryrefslogtreecommitdiff
path: root/noncore/apps
Side-by-side diff
Diffstat (limited to 'noncore/apps') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-reader/ZText.h2
-rw-r--r--noncore/apps/opie-reader/plucker.h2
-rw-r--r--noncore/apps/opie-reader/ztxt.h2
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