blob: 846eaff8ff85c5b2035358be2969144168da2999 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- libgtop-2.28.5.orig/sysdeps/linux/netload.c
+++ libgtop-2.28.5/sysdeps/linux/netload.c
@@ -34,8 +34,6 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
-#if !defined (_LIBC) && defined (__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1
-/* GNU LibC */
#include <net/if.h>
#include <netinet/ip_icmp.h>
#include <netinet/in.h>
@@ -43,15 +41,6 @@
#include <netinet/tcp.h>
#include <netinet/udp.h>
#include <net/if.h>
-#else /* Libc 5 */
-#include <linux/if.h>
-#include <linux/in.h>
-#include <linux/ip.h>
-#include <linux/icmp.h>
-#include <linux/tcp.h>
-#include <linux/udp.h>
-#endif
-
#ifdef HAVE_IFADDRS_H
/* needed for IPV6 support */
|