summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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