Browse Source

build on irix

David Rose 23 years ago
parent
commit
2bc10310d0
2 changed files with 4 additions and 2 deletions
  1. 1 2
      dtool/src/dconfig/notifyCategory.h
  2. 3 0
      dtool/src/dtoolbase/dtoolbase_cc.h

+ 1 - 2
dtool/src/dconfig/notifyCategory.h

@@ -19,11 +19,10 @@
 #ifndef NOTIFYCATEGORY_H
 #define NOTIFYCATEGORY_H
 
-#include <dtoolbase.h>
+#include "dtoolbase.h"
 
 #include "notifySeverity.h"
 
-#include <string>
 #include <vector>
 
 ////////////////////////////////////////////////////////////////////

+ 3 - 0
dtool/src/dtoolbase/dtoolbase_cc.h

@@ -82,9 +82,12 @@ typedef int streamsize;
 #ifndef HAVE_IOS_TYPEDEFS
 typedef int ios_openmode;
 typedef int ios_fmtflags;
+// Old iostream libraries used ios::seek_dir instead of ios::seekdir.
+typedef ios::seek_dir ios_seekdir;
 #else
 typedef ios::openmode ios_openmode;
 typedef ios::fmtflags ios_fmtflags;
+typedef ios::seekdir ios_seekdir;
 #endif