From 24ba7c4296544c70e27faaec7978cf754fab31b5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 24 Oct 2017 12:48:04 -0400 Subject: [PATCH] add winprocess.h --- Utility/WinProcess.hs | 2 +- Utility/winprocess.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 Utility/winprocess.h diff --git a/Utility/WinProcess.hs b/Utility/WinProcess.hs index 36f079d041..cfac8794c4 100644 --- a/Utility/WinProcess.hs +++ b/Utility/WinProcess.hs @@ -11,5 +11,5 @@ module Utility.WinProcess where import Utility.PID -foreign import ccall unsafe "terminatepid" +foreign import ccall unsafe "winprocess.h terminatepid" terminatePID :: PID -> IO () diff --git a/Utility/winprocess.h b/Utility/winprocess.h new file mode 100644 index 0000000000..eac954fcae --- /dev/null +++ b/Utility/winprocess.h @@ -0,0 +1,3 @@ +#include + +void terminatepid (DWORD pid);