ports/net/netspeed_applet/files/patch-src__backend.h
Jean-Yves Lefort 5dc6fc457f Use libgtop again (by default, 0.12 uses Linux's /proc).
Reported by:	Peter Thoenen <eol1@yahoo.com>
Approved by:	adamw (mentor)
2005-04-22 02:06:29 +00:00

24 lines
519 B
C

--- 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>
+#include <sys/types.h>
#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