Author: jfrederic.clere(a)jboss.com
Date: 2007-10-17 11:11:46 -0400 (Wed, 17 Oct 2007)
New Revision: 1127
Modified:
trunk/sight/native/os/solaris/tcpstat.c
Log:
Fix warnings.
Modified: trunk/sight/native/os/solaris/tcpstat.c
===================================================================
--- trunk/sight/native/os/solaris/tcpstat.c 2007-10-17 15:08:17 UTC (rev 1126)
+++ trunk/sight/native/os/solaris/tcpstat.c 2007-10-17 15:11:46 UTC (rev 1127)
@@ -32,6 +32,13 @@
#define SIGHT_WANT_LATE_DLL
#include "sight_private.h"
+#include <unistd.h>
+
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
#include <stropts.h>
#include <sys/tihdr.h>
@@ -292,7 +299,7 @@
return;
}
e->type = iftype;
- read_mib2(_E, e, pool);
+ read_mib2(_E, e, lpool);
if (e->stat != NULL) {
mib2_tcp_t *tcp = (mib2_tcp_t *)e->stat;
Show replies by date