summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-11-07 22:23:46 -0800
committerGarrett D'Amore <garrett@damore.org>2024-11-07 22:26:54 -0800
commit62e5eb84f6a64fc2e8432ad734b8c3e47c0dd377 (patch)
tree115d8fe9b865a319c2d5018fd462f7ca70e9e9ad
parent52712a2f42dd18570ed7f5c9337f8f742b73ade3 (diff)
downloadnng-62e5eb84f6a64fc2e8432ad734b8c3e47c0dd377.tar.gz
nng-62e5eb84f6a64fc2e8432ad734b8c3e47c0dd377.tar.bz2
nng-62e5eb84f6a64fc2e8432ad734b8c3e47c0dd377.zip
fixes #1900 'u_int32_t' undeclared
This bug was already fixed in the main branch.
-rw-r--r--src/platform/posix/posix_udp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform/posix/posix_udp.c b/src/platform/posix/posix_udp.c
index 4ef4c68c..a7eb7144 100644
--- a/src/platform/posix/posix_udp.c
+++ b/src/platform/posix/posix_udp.c
@@ -12,6 +12,7 @@
#include "nng/nng.h"
#include "platform/posix/posix_impl.h"
#include <sys/errno.h>
+#include <sys/types.h>
#ifdef NNG_PLATFORM_POSIX
#include "platform/posix/posix_pollq.h"