summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-17 16:24:31 +0100
committerinfirit <[email protected]>2014-12-17 17:23:02 +0100
commitb7a79ac25a7d27fe98694dc18e04a7225ad81132 (patch)
treec4e51df2128f06efa5b31249cd665cc31fe9752b /src
parent85546aef12e338ceac55cf5b973092f275a42e4d (diff)
downloadmate-system-monitor-b7a79ac25a7d27fe98694dc18e04a7225ad81132.tar.bz2
mate-system-monitor-b7a79ac25a7d27fe98694dc18e04a7225ad81132.tar.xz
If NI_IDN is not defined, set it to 0.
Taken from GSM commit: 74ced4acf1f514e5a75b7e68f0e012d8bc869be1 From: Antoine Jacoutot <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=652602
Diffstat (limited to 'src')
-rw-r--r--src/openfiles.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openfiles.cpp b/src/openfiles.cpp
index 3aa26e9..140a97b 100644
--- a/src/openfiles.cpp
+++ b/src/openfiles.cpp
@@ -15,6 +15,10 @@
#include "util.h"
#include "settings-keys.h"
+#ifndef NI_IDN
+#define NI_IDN 0
+#endif
+
enum
{
COL_FD,