[Openvpn-devel,v1] win32-util.h: Fix includes

Message ID 20260813180927.3263-1-gert@greenie.muc.de
State New
Headers
Series [Openvpn-devel,v1] win32-util.h: Fix includes |

Commit Message

Gert Doering Aug. 13, 2026, 6:09 p.m. UTC
  From: Frank Lichtenheld <frank@lichtenheld.com>

This file includes various headers but then doesn't
use anything from them. It does not include the header
(buffer.h) it actually uses.

Change-Id: Ie44556f5ece28b54cc657fa86261b827efb42467
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Razvan Cojocaru <razvanc@mailbox.org>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1779
---

This change was reviewed on Gerrit and approved by at least one
developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1779
This mail reflects revision 1 of this Change.

Acked-by according to Gerrit (reflected above):
Razvan Cojocaru <razvanc@mailbox.org>
  

Patch

diff --git a/src/openvpn/win32-util.h b/src/openvpn/win32-util.h
index 4849ea9..fb83762 100644
--- a/src/openvpn/win32-util.h
+++ b/src/openvpn/win32-util.h
@@ -24,11 +24,7 @@ 
 #ifndef OPENVPN_WIN32_UTIL_H
 #define OPENVPN_WIN32_UTIL_H
 
-#include <winioctl.h>
-
-#include "mtu.h"
-#include "openvpn-msg.h"
-#include "argv.h"
+#include "buffer.h"
 
 /* Convert a string from UTF-8 to UCS-2 */
 WCHAR *wide_string(const char *utf8, struct gc_arena *gc);