blob: 05db58a4c083da03bbdc6dcdefb8fdb123fd7bed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- gtop/gtop.c.orig Wed May 18 00:54:59 2005
+++ gtop/gtop.c Wed May 18 00:54:12 2005
@@ -44,6 +44,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
@@ -1316,8 +1317,8 @@ build_siglist(void)
for(i = 0; i < len; ++i)
{
- p = &glibtop_sys_siglist[i];
PyObject* d;
+ p = &glibtop_sys_siglist[i];
d = PyDict_New();
my_dict_add_and_decref(d, "number", PyI_L(p->number));
|