diff options
author | midipix <writeonce@midipix.org> | 2021-06-18 07:52:41 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-18 07:52:41 +0000 |
commit | c027bd6ab71107ef9f734cc2a333153a387a4d0a (patch) | |
tree | ba242f583feb5c950d1aa95f8388bede11b71f60 | |
parent | a138727604f8d636886e6e44aba428d0db2c2642 (diff) | |
download | sbpython3-c027bd6ab71107ef9f734cc2a333153a387a4d0a.tar.bz2 sbpython3-c027bd6ab71107ef9f734cc2a333153a387a4d0a.tar.xz |
config: linux/pyconfig.h, midipix/pyconfig.h: defined HAVE_IF_NAMEINDEX.
-rw-r--r-- | config/linux/pyconfig.h | 4 | ||||
-rw-r--r-- | config/midipix/pyconfig.h | 4 |
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 |