summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorOBATA Akio <[email protected]>2020-05-16 19:02:00 +0900
committerSlávek Banko <[email protected]>2020-05-28 19:26:40 +0200
commit5bcd375ab51d0cf08e8263ba5f840c2daf53d161 (patch)
tree4b5a09e6c283d97a5a8fd921e3f702c9c4854721 /config.h.cmake
parent85d158eec59e42b693e5d83109de157435103d10 (diff)
downloadtdebase-5bcd375ab51d0cf08e8263ba5f840c2daf53d161.tar.gz
tdebase-5bcd375ab51d0cf08e8263ba5f840c2daf53d161.zip
Check ifw_hwaddr member for struct ifreq
It is used for ioctl(SIOCGIFHWADDR) return storage member, but does not exist on Solaris, it uses ifr_addr. Signed-off-by: OBATA Akio <[email protected]> Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 204f4cbe5..daf86f64d 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -105,6 +105,12 @@
// taskmanager
#cmakedefine HAVE_XCOMPOSITE
+// kcontrol/nics
+#cmakedefine HAVE_IFREQ_IFR_HWADDR
+#ifndef HAVE_IFREQ_IFR_HWADDR
+#define ifr_hwaddr ifr_addr
+#endif
+
// kcontrol/fonts
#cmakedefine HAVE_FONTCONFIG 1
#cmakedefine HAVE_FREETYPE2 1