From fec74cd04067e06be77593fb45ff912be3d8916d Mon Sep 17 00:00:00 2001 From: dearblue Date: Sun, 25 Dec 2022 17:31:53 +0900 Subject: [PATCH] Avoid uses `mruby/src/error.h` file --- mrbgems/mruby-dir/mrbgem.rake | 2 -- mrbgems/mruby-dir/src/dir.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/mrbgems/mruby-dir/mrbgem.rake b/mrbgems/mruby-dir/mrbgem.rake index 10864c81c..6951c49db 100644 --- a/mrbgems/mruby-dir/mrbgem.rake +++ b/mrbgems/mruby-dir/mrbgem.rake @@ -1,6 +1,4 @@ MRuby::Gem::Specification.new('mruby-dir') do |spec| spec.license = 'MIT and MIT-like license' spec.authors = [ 'Internet Initiative Japan Inc.', 'Kevlin Henney'] - - spec.cc.include_paths << "#{build.root}/src" end diff --git a/mrbgems/mruby-dir/src/dir.c b/mrbgems/mruby-dir/src/dir.c index 564e57d40..fcf80d71f 100644 --- a/mrbgems/mruby-dir/src/dir.c +++ b/mrbgems/mruby-dir/src/dir.c @@ -7,8 +7,8 @@ #include "mruby.h" #include "mruby/class.h" #include "mruby/data.h" +#include "mruby/error.h" #include "mruby/string.h" -#include "error.h" #include #if defined(_WIN32) || defined(_WIN64) #define MAXPATHLEN 1024