From 2592bfc8b7eb3dad7ca17bdd2e0c5ac7755dbab8 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 6 Oct 2024 22:33:45 -0700 Subject: Actually enable UDP. Also fix some UWYI includes. --- src/core/defs.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/core/defs.h') diff --git a/src/core/defs.h b/src/core/defs.h index d559b490..2d73f296 100644 --- a/src/core/defs.h +++ b/src/core/defs.h @@ -11,8 +11,10 @@ #ifndef CORE_DEFS_H #define CORE_DEFS_H -#include #include +#include + +#include // C compilers may get unhappy when named arguments are not used. While // there are things like __attribute__((unused)) which are arguably @@ -24,7 +26,7 @@ if (!(x)) \ nni_panic("%s: %d: assert err: %s", __FILE__, __LINE__, #x) #else -#define NNI_ASSERT(x) ((void)(0)) +#define NNI_ASSERT(x) ((void) (0)) #endif // Returns the size of an array in elements. (Convenience.) -- cgit v1.2.3-70-g09d2