summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorJosh Cooper <joshcooper@users.noreply.github.com>2022-10-25 16:22:57 -0700
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-10-26 10:42:03 +0900
commit1670e96c0ddf9e17e94e25517fb424f3a8e20e33 (patch)
treeb351a655f55390b6eb3a59b0c43c4125572fd8ea /win32
parent1dd9511b6723b2781e65e2b4093a714576802302 (diff)
[win32] Only include base windows types
esent.h is the header for MS essential storage engine (JET) which is not needed in ruby. basetsd.h has existed since _MSC_VER >= 1200 (VS 6.0) and is the preferred header to use for WCHAR.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6632
Diffstat (limited to 'win32')
-rw-r--r--win32/dir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/dir.h b/win32/dir.h
index de12f79158..0292c27c9c 100644
--- a/win32/dir.h
+++ b/win32/dir.h
@@ -1,7 +1,7 @@
#ifndef RUBY_WIN32_DIR_H
#define RUBY_WIN32_DIR_H
#include <stdint.h> /* for uint8_t */
-#include <esent.h> /* for WCHAR */
+#include <basetsd.h> /* for WCHAR */
#include "ruby/encoding.h" /* for rb_encoding */
#define DT_UNKNOWN 0