aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-11-09 08:20:05 -0800
committerGarrett D'Amore <garrett@damore.org>2025-11-09 08:20:05 -0800
commitfcd1adbb6d4d0307aacdd56034695a6083429163 (patch)
treebd06789353a6c025f63d6b6c9aa309d7ca92da7c
parentbf619798ec8afbf64b5542be832466e23e2d9d23 (diff)
downloadnng-fcd1adbb6d4d0307aacdd56034695a6083429163.tar.gz
nng-fcd1adbb6d4d0307aacdd56034695a6083429163.tar.bz2
nng-fcd1adbb6d4d0307aacdd56034695a6083429163.zip
chore/websocket: IWYU fixes
-rw-r--r--src/supplemental/websocket/stub.c4
-rw-r--r--src/supplemental/websocket/websocket.c11
2 files changed, 11 insertions, 4 deletions
diff --git a/src/supplemental/websocket/stub.c b/src/supplemental/websocket/stub.c
index 94e7f1b5..6db2d680 100644
--- a/src/supplemental/websocket/stub.c
+++ b/src/supplemental/websocket/stub.c
@@ -1,5 +1,5 @@
//
-// Copyright 2019 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2025 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2019 Devolutions <info@devolutions.net>
//
// This software is supplied under the terms of the MIT License, a
@@ -8,7 +8,7 @@
// found online at https://opensource.org/licenses/MIT.
//
-#include "core/nng_impl.h"
+#include "../../core/defs.h"
// This stub file exists to support configuration of the stream subsystem
// when websocket support is unconfigured.
diff --git a/src/supplemental/websocket/websocket.c b/src/supplemental/websocket/websocket.c
index 82cac05e..13620656 100644
--- a/src/supplemental/websocket/websocket.c
+++ b/src/supplemental/websocket/websocket.c
@@ -13,9 +13,16 @@
#include <stdlib.h>
#include <string.h>
-#include "../../core/nng_impl.h"
+#include "../../core/aio.h"
+#include "../../core/defs.h"
+#include "../../core/message.h"
+#include "../../core/options.h"
+#include "../../core/platform.h"
+#include "../../core/reap.h"
+#include "../../core/stream.h"
+#include "../../core/strs.h"
+#include "../../core/url.h"
#include "../../supplemental/http/http_api.h"
-#include "nng/http.h"
#include "base64.h"
#include "nng/nng.h"