summaryrefslogtreecommitdiff
path: root/config/linux
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 /config/linux
parenta138727604f8d636886e6e44aba428d0db2c2642 (diff)
downloadsbpython3-c027bd6ab71107ef9f734cc2a333153a387a4d0a.tar.bz2
sbpython3-c027bd6ab71107ef9f734cc2a333153a387a4d0a.tar.xz
config: linux/pyconfig.h, midipix/pyconfig.h: defined HAVE_IF_NAMEINDEX.
Diffstat (limited to 'config/linux')
-rw-r--r--config/linux/pyconfig.h4
1 files changed, 4 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