From 6163f5d8b0685c728cd657694a640f8fc29b0212 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Tue, 7 Jul 1998 15:59:37 +0000 Subject: [PATCH] Some fixes for Solaris (2.5). Fixed path to png.h in gdk_imlib_private.h. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/app.h | 2 +- src/gdk_imlib/gdk_imlib_private.h | 2 +- src/gtk/threadpsx.cpp | 1 + src/gtk1/threadpsx.cpp | 1 + user/wxLayout/Makefile | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 user/wxLayout/Makefile diff --git a/include/wx/app.h b/include/wx/app.h index 349bac1acf..e4fd186486 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -51,7 +51,7 @@ public: // (e.g. hello.cpp). // Now IMPLEMENT_APP should add this code if required. -#if defined(__AIX__) || defined(__SUN__) || defined(__HPUX__) +#if defined(__AIX__) || defined(__HPUX__) #define IMPLEMENT_WXWIN_MAIN \ extern int wxEntry( int argc, char *argv[] ); \ int main(int argc, char *argv[]) { return wxEntry(argc, argv); } diff --git a/src/gdk_imlib/gdk_imlib_private.h b/src/gdk_imlib/gdk_imlib_private.h index 3da5c6d9bb..e105f30cbe 100644 --- a/src/gdk_imlib/gdk_imlib_private.h +++ b/src/gdk_imlib/gdk_imlib_private.h @@ -47,7 +47,7 @@ #include #endif #ifdef HAVE_LIBPNG -#include +#include <../png/png.h> #endif #ifdef HAVE_LIBTIFF #include diff --git a/src/gtk/threadpsx.cpp b/src/gtk/threadpsx.cpp index 688ef8f29f..80613c5156 100644 --- a/src/gtk/threadpsx.cpp +++ b/src/gtk/threadpsx.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "wx/thread.h" #include "wx/module.h" #include "wx/utils.h" diff --git a/src/gtk1/threadpsx.cpp b/src/gtk1/threadpsx.cpp index 688ef8f29f..80613c5156 100644 --- a/src/gtk1/threadpsx.cpp +++ b/src/gtk1/threadpsx.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "wx/thread.h" #include "wx/module.h" #include "wx/utils.h" diff --git a/user/wxLayout/Makefile b/user/wxLayout/Makefile new file mode 100644 index 0000000000..027d82ae19 --- /dev/null +++ b/user/wxLayout/Makefile @@ -0,0 +1 @@ +include ../../src/gtk/setup/general/makeapp -- 2.45.2