summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/base/System/Environment/ExecutablePath.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/System/Environment/ExecutablePath.hsc b/libraries/base/System/Environment/ExecutablePath.hsc
index cdf39ea041..932af67b45 100644
--- a/libraries/base/System/Environment/ExecutablePath.hsc
+++ b/libraries/base/System/Environment/ExecutablePath.hsc
@@ -43,7 +43,7 @@ import System.Posix.Internals
#include <sys/sysctl.h>
#elif defined(mingw32_HOST_OS)
import Control.Exception
-import Data.List
+import Data.List (isPrefixOf)
import Data.Word
import Foreign.C
import Foreign.Marshal.Array