Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77a62cea authored by Kenny Root's avatar Kenny Root
Browse files

MinGW does not have sys/cdefs.h

Change-Id: I5cafafce8488d355ed3865a9fd1173fbebbc5b03
parent e8886740
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -18,9 +18,10 @@
#define _CUTILS_LIST_H_

#include <stddef.h>
#include <sys/cdefs.h>

__BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

struct listnode
{
@@ -51,6 +52,8 @@ void list_remove(struct listnode *item);
#define list_head(list) ((list)->next)
#define list_tail(list) ((list)->prev)

__END_DECLS
#ifdef __cplusplus
};
#endif /* __cplusplus */

#endif