net/igmp/igmp.h: include <nuttx/semaphore.h> to fix build break
Build nucleo-144/f767-netnsh fail with below error: In file included from igmp/igmp_initialize.c:54: ./igmp/igmp.h:130:3: error: unknown type name 'sem_t' 130 | sem_t sem; /* Used to wait for message transmission */ | ^~~~~ make[1]: *** [igmp_initialize.o] Error 1 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
parent
1321c34022
commit
5f7a797e89
@ -77,6 +77,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <nuttx/semaphore.h>
|
||||
#include <nuttx/wqueue.h>
|
||||
#include <nuttx/net/ip.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user