diff options
| author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-04-22 02:06:29 +0000 |
|---|---|---|
| committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-04-22 02:06:29 +0000 |
| commit | 5dc6fc457f3df6d6cae2423033750d231be00637 (patch) | |
| tree | da18bd6364311df4088e3803beb6756d8af213d2 /net/netspeed_applet/files/patch-src__backend.h | |
| parent | Correct a number of ports that anger the tempermental Make Spirits (diff) | |
Use libgtop again (by default, 0.12 uses Linux's /proc).
Reported by: Peter Thoenen <eol1@yahoo.com>
Approved by: adamw (mentor)
Diffstat (limited to 'net/netspeed_applet/files/patch-src__backend.h')
| -rw-r--r-- | net/netspeed_applet/files/patch-src__backend.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/net/netspeed_applet/files/patch-src__backend.h b/net/netspeed_applet/files/patch-src__backend.h index e7c3db56f4e3..176efc3e79b1 100644 --- a/net/netspeed_applet/files/patch-src__backend.h +++ b/net/netspeed_applet/files/patch-src__backend.h @@ -1,6 +1,12 @@ ---- src/backend.h.orig Thu Apr 21 11:25:48 2005 -+++ src/backend.h Thu Apr 21 11:12:39 2005 -@@ -25,6 +25,7 @@ +--- src/backend.h.orig Wed Dec 1 13:43:47 2004 ++++ src/backend.h Fri Apr 22 01:28:34 2005 +@@ -20,18 +20,20 @@ + #ifndef _BACKEND_H + #define _BACKEND_H + ++#include "config.h" + #include <stdlib.h> + #include <stdio.h> #include <unistd.h> #include <string.h> #include <ctype.h> @@ -8,3 +14,11 @@ #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> + #include <net/if.h> + #include <sys/ioctl.h> + #include <glib.h> +-#ifdef USE_GLIBTOP ++#ifdef USE_LIBGTOP + #include <glibtop/netload.h> + #endif + |
