axel-download-accelerator / axel

Lightweight CLI download accelerator
GNU General Public License v2.0
2.84k stars 258 forks source link

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

Open yurivict opened 1 year ago

yurivict commented 1 year ago

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