diff --git a/nsock/src/gh_heap.h b/nsock/src/gh_heap.h index 9eaa2cbc2..d781917f0 100644 --- a/nsock/src/gh_heap.h +++ b/nsock/src/gh_heap.h @@ -69,10 +69,11 @@ #include "error.h" #include -#include #if !defined(container_of) +#include + #define container_of(ptr, type, member) \ ((type *)((char *)(ptr) - offsetof(type, member))) #endif