Fixes for new iwlib

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1106905 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 15 years ago
parent 5ec1af2231
commit 1fdcb0e5ce

@ -11,6 +11,9 @@ if test "x$with_wifi" != xno; then
AC_TRY_COMPILE( AC_TRY_COMPILE(
[ [
#include <iwlib.h> #include <iwlib.h>
#ifndef PROC_NET_DEV
#define PROC_NET_DEV "/proc/net/dev"
#endif
], ],
[ [
const char *s = PROC_NET_DEV; const char *s = PROC_NET_DEV;

@ -30,6 +30,10 @@
#include <arts/referenceclean.h> #include <arts/referenceclean.h>
#endif #endif
#ifndef PROC_NET_DEV
#define PROC_NET_DEV "/proc/net/dev"
#endif
#include <iostream> #include <iostream>
#include <string> #include <string>
#include <klocale.h> #include <klocale.h>

Loading…
Cancel
Save