summaryrefslogtreecommitdiff
path: root/lib/chef/win32/api.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/win32/api.rb')
-rw-r--r--lib/chef/win32/api.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/win32/api.rb b/lib/chef/win32/api.rb
index 6bfa287249..e32828673a 100644
--- a/lib/chef/win32/api.rb
+++ b/lib/chef/win32/api.rb
@@ -17,7 +17,7 @@
# limitations under the License.
#
-require "ffi"
+require "ffi" unless defined?(FFI)
require_relative "../reserved_names"
require_relative "../exceptions"