axel-download-accelerator/axel

error: typedef redefinition with different types ('message_t' vs 'struct ifnet *')

yurivict opened this issue · 0 comments

Build breaks:

In file included from src/abuf.c:46:
src/axel.h:104:19: error: typedef redefinition with different types ('message_t' vs 'struct ifnet *')
typedef message_t if_t;
                  ^
/usr/include/net/if.h:658:24: note: previous definition is here
typedef struct ifnet * if_t;
                       ^
In file included from src/axel.c:52:
src/axel.h:104:19: error: typedef redefinition with different types ('message_t' vs 'struct ifnet *')
typedef message_t if_t;
                  ^
/usr/include/net/if.h:658:24: note: previous definition is here
typedef struct ifnet * if_t;
                       ^
1 error generated.

Version: 2.17.11-21-gd65dffa
FreeBSD 13.1