diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/myspell/affixmgr.hxx | 4 | ||||
-rw-r--r-- | src/myspell/atypes.hxx | 2 | ||||
-rw-r--r-- | src/myspell/hunzip.cxx | 3 | ||||
-rw-r--r-- | src/myspell/hunzip.hxx | 2 | ||||
-rw-r--r-- | src/myspell/phonet.cxx | 3 | ||||
-rw-r--r-- | src/myspell/w_char.hxx | 2 |
6 files changed, 13 insertions, 3 deletions
diff --git a/src/myspell/affixmgr.hxx b/src/myspell/affixmgr.hxx index f045b87..392ac49 100644 --- a/src/myspell/affixmgr.hxx +++ b/src/myspell/affixmgr.hxx @@ -2,11 +2,11 @@ #define _AFFIXMGR_HXX_ #ifdef MOZILLA_CLIENT +#include <stdio.h> +#else #ifdef __SUNPRO_CC // for SunONE Studio compiler using namespace std; #endif -#include <stdio.h> -#else #include <cstdio> #endif diff --git a/src/myspell/atypes.hxx b/src/myspell/atypes.hxx index 0d4db14..a5566f8 100644 --- a/src/myspell/atypes.hxx +++ b/src/myspell/atypes.hxx @@ -1,6 +1,8 @@ #ifndef _ATYPES_HXX_ #define _ATYPES_HXX_ +#include <stdio.h> + #ifndef HUNSPELL_WARNING #ifdef HUNSPELL_WARNING_ON #define HUNSPELL_WARNING fprintf diff --git a/src/myspell/hunzip.cxx b/src/myspell/hunzip.cxx index f9091b8..63124e4 100644 --- a/src/myspell/hunzip.cxx +++ b/src/myspell/hunzip.cxx @@ -1,4 +1,7 @@ #ifndef MOZILLA_CLIENT +#ifdef __SUNPRO_CC +using namespace std; +#endif #include <cstdlib> #include <cstring> #include <cstdio> diff --git a/src/myspell/hunzip.hxx b/src/myspell/hunzip.hxx index 52109d1..364557b 100644 --- a/src/myspell/hunzip.hxx +++ b/src/myspell/hunzip.hxx @@ -12,6 +12,8 @@ #define MSG_MEMORY "error: %s: missing memory\n" #define MSG_KEY "error: %s: missing or bad password\n" +#include <stdio.h> + struct bit { unsigned char c[2]; int v[2]; diff --git a/src/myspell/phonet.cxx b/src/myspell/phonet.cxx index 91dc419..cd77fba 100644 --- a/src/myspell/phonet.cxx +++ b/src/myspell/phonet.cxx @@ -28,6 +28,9 @@ */ #ifndef MOZILLA_CLIENT +#ifdef __SUNPRO_CC +using namespace std; +#endif #include <cstdlib> #include <cstring> #include <cstdio> diff --git a/src/myspell/w_char.hxx b/src/myspell/w_char.hxx index a3d11c3..af47e1a 100644 --- a/src/myspell/w_char.hxx +++ b/src/myspell/w_char.hxx @@ -4,7 +4,7 @@ #ifdef WIN32 typedef struct { #else -typedef struct __attribute__ ((packed)) { +typedef struct { #endif unsigned char l; unsigned char h; |