summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-18 07:52:41 +0000
committermidipix <writeonce@midipix.org>2021-06-18 07:52:41 +0000
commitc027bd6ab71107ef9f734cc2a333153a387a4d0a (patch)
treeba242f583feb5c950d1aa95f8388bede11b71f60
parenta138727604f8d636886e6e44aba428d0db2c2642 (diff)
downloadsbpython3-c027bd6ab71107ef9f734cc2a333153a387a4d0a.tar.bz2
sbpython3-c027bd6ab71107ef9f734cc2a333153a387a4d0a.tar.xz
config: linux/pyconfig.h, midipix/pyconfig.h: defined HAVE_IF_NAMEINDEX.
-rw-r--r--config/linux/pyconfig.h4
-rw-r--r--config/midipix/pyconfig.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/config/linux/pyconfig.h b/config/linux/pyconfig.h
index 145f77b..7c6bfde 100644
--- a/config/linux/pyconfig.h
+++ b/config/linux/pyconfig.h
@@ -37,6 +37,10 @@
#define SIZEOF_PID_T __SIZEOF_INT__
#endif
+#ifndef HAVE_IF_NAMEINDEX
+#define HAVE_IF_NAMEINDEX 1
+#endif
+
#ifndef HAVE_SIGINFO_T_SI_BAND
#define HAVE_SIGINFO_T_SI_BAND 1
#endif
diff --git a/config/midipix/pyconfig.h b/config/midipix/pyconfig.h
index 8d49743..5d280a2 100644
--- a/config/midipix/pyconfig.h
+++ b/config/midipix/pyconfig.h
@@ -36,6 +36,10 @@
#define SIZEOF_PID_T __SIZEOF_INT__
#endif
+#ifndef HAVE_IF_NAMEINDEX
+#define HAVE_IF_NAMEINDEX 1
+#endif
+
#ifndef HAVE_SIGINFO_T_SI_BAND
#define HAVE_SIGINFO_T_SI_BAND 1
#endif