diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-05 08:39:55 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-05 08:39:55 -0800 |
| commit | f08a488c30ff102c29f589c138bae29d91dccb2a (patch) | |
| tree | 4e8ffacabb0b90537ac97c806e27f53cb4c3547f /src/supplemental/websocket | |
| parent | f77e5a5ec7f8b1373eeda0ea56f47137daf40330 (diff) | |
| download | nng-f08a488c30ff102c29f589c138bae29d91dccb2a.tar.gz nng-f08a488c30ff102c29f589c138bae29d91dccb2a.tar.bz2 nng-f08a488c30ff102c29f589c138bae29d91dccb2a.zip | |
Liberally apply some UWYI (use what you include) to header files
Diffstat (limited to 'src/supplemental/websocket')
| -rw-r--r-- | src/supplemental/websocket/sha1.h | 2 | ||||
| -rw-r--r-- | src/supplemental/websocket/websocket.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/supplemental/websocket/sha1.h b/src/supplemental/websocket/sha1.h index 43b6f20d..b061e884 100644 --- a/src/supplemental/websocket/sha1.h +++ b/src/supplemental/websocket/sha1.h @@ -11,6 +11,8 @@ #ifndef NNG_SUPPLEMENTAL_WEBSOCKET_SHA1_H #define NNG_SUPPLEMENTAL_WEBSOCKET_SHA1_H +#include "core/defs.h" + typedef struct { uint32_t digest[5]; // resulting digest uint64_t len; // length in bits diff --git a/src/supplemental/websocket/websocket.h b/src/supplemental/websocket/websocket.h index fab716bf..36e8dba5 100644 --- a/src/supplemental/websocket/websocket.h +++ b/src/supplemental/websocket/websocket.h @@ -1,5 +1,5 @@ // -// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // Copyright 2019 Devolutions <info@devolutions.net> // @@ -14,6 +14,8 @@ #include <stdbool.h> +#include "core/stream.h" + typedef struct nni_ws nni_ws; typedef struct nni_ws_listener nni_ws_listener; typedef struct nni_ws_dialer nni_ws_dialer; |
