Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 19 years ago
parent
commit
e38f2c6f3d
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      package/tsa/iptraf/asm_sys_types_h.patch

+ 18
- 0
package/tsa/iptraf/asm_sys_types_h.patch

@ -0,0 +1,18 @@
--- ./src/tr.c 2005-07-06 11:31:33.000000000 +0200
+++ ./src/tr.c 2005-07-06 11:30:56.000000000 +0200
@@ -8,6 +8,15 @@
#include <asm/types.h>
#include <linux/if_tr.h>
+
+/* conflict between sys/types.h and asm/types.h */
+#define nlink_t libc_nlink_t
+#define mode_t libc_mode_t
+#define fd_set libc_fd_set
+#define dev_t libc_dev_t
+#define gid_t libc_gid_t
+#define uid_t libc_uid_t
+
#include <netinet/in.h>
unsigned int get_tr_ip_offset(unsigned char *pkt)

Loading…
Cancel
Save