Răsfoiți Sursa

build on Irix

David Rose 22 ani în urmă
părinte
comite
a355211cc1

+ 1 - 1
pandatool/src/gtk-stats/Sources.pp

@@ -6,7 +6,7 @@
   #define LOCAL_LIBS \
     gtkbase progbase pstatserver
   #define OTHER_LIBS \
-    pstatclient:c linmath:c putil:c express:c panda:m \
+    pstatclient:c linmath:c putil:c net:c express:c panda:m \
     dtoolutil:c dtoolbase:c dconfig:c dtoolconfig:m dtool:m
   #define UNIX_SYS_LIBS \
     m

+ 1 - 1
pandatool/src/pstatserver/pStatServer.cxx

@@ -230,7 +230,7 @@ is_thread_safe() {
 //               parties and clean up gracefully.
 ////////////////////////////////////////////////////////////////////
 void PStatServer::
-connection_reset(const PT(Connection) &connection) {
+connection_reset(const PT(Connection) &connection, PRErrorCode errcode) {
   // Was this a client connection?  Tell the reader about it if it
   // was.
   close_connection(connection);

+ 2 - 1
pandatool/src/pstatserver/pStatServer.h

@@ -64,7 +64,8 @@ public:
   virtual bool is_thread_safe();
 
 private:
-  virtual void connection_reset(const PT(Connection) &connection);
+  virtual void connection_reset(const PT(Connection) &connection, 
+                                PRErrorCode errcode);
 
   PStatListener *_listener;