diff options
| author | Hans Dedecker | 2022-01-14 20:27:39 +0000 |
|---|---|---|
| committer | Hans Dedecker | 2022-01-14 20:31:23 +0000 |
| commit | 3043206e94da412eb19dd72ea68edcaca545d84c (patch) | |
| tree | 099ae75fe6af7d3d7ca5d9fe85f82504d5a84785 | |
| parent | 96902e8fb712a070867a0a822d7877fdb10573f5 (diff) | |
| download | netifd-3043206e94da412eb19dd72ea68edcaca545d84c.tar.gz | |
system: fix compilation with glibc 2.34
Fixes ARPHRD_PHONET/ARPHRD_PHONET_PIPE undeclared compilation error with
glibc 2.34
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
| -rw-r--r-- | system.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -81,8 +81,12 @@ static const struct netdev_type netdev_types[] = { {ARPHRD_IEEE80211, "ieee80211"}, {ARPHRD_IEEE80211_PRISM, "ie80211-prism"}, {ARPHRD_IEEE80211_RADIOTAP, "ieee80211-radiotap"}, +#ifdef ARPHRD_PHONET {ARPHRD_PHONET, "phonet"}, +#endif +#ifdef ARPHRD_PHONET_PIPE {ARPHRD_PHONET_PIPE, "phonet-pipe"}, +#endif {ARPHRD_IEEE802154, "ieee802154"}, {ARPHRD_VOID, "void"}, {ARPHRD_NONE, "none"} |