mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix for building libusb under Linux.
MFC after: 3 days Sponsored by: Mellanox Technologies
This commit is contained in:
parent
d845d3dc9a
commit
f6428705d8
1 changed files with 7 additions and 0 deletions
|
|
@ -77,4 +77,11 @@
|
|||
} while (0)
|
||||
#endif
|
||||
|
||||
#ifndef TAILQ_FOREACH_SAFE
|
||||
#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
|
||||
for ((var) = TAILQ_FIRST((head)); \
|
||||
(var) && ((tvar) = TAILQ_NEXT((var), field), 1); \
|
||||
(var) = (tvar))
|
||||
#endif
|
||||
|
||||
#endif /* _LIBUSB_GLOBAL_LINUX_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue