From b6ac443b60c66cd8cfabb9987f00f161d6f644f5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 19 Dec 2015 17:42:45 -0400 Subject: [PATCH] fix build warnings under ghc 7.10 Caused by AMP.. Since I've finally upgraded my dev laptop to 7.10, I may start missing imports that are not needed with it but are with older versions.. --- Types/DeferredParse.hs | 1 - Utility/LockFile/PidLock.hs | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Types/DeferredParse.hs b/Types/DeferredParse.hs index 983ba3f5c2..7445615f65 100644 --- a/Types/DeferredParse.hs +++ b/Types/DeferredParse.hs @@ -10,7 +10,6 @@ module Types.DeferredParse where import Annex -import Common import Options.Applicative diff --git a/Utility/LockFile/PidLock.hs b/Utility/LockFile/PidLock.hs index 086e771aac..53eb5a54f4 100644 --- a/Utility/LockFile/PidLock.hs +++ b/Utility/LockFile/PidLock.hs @@ -31,11 +31,12 @@ import System.IO import System.Posix import Data.Maybe import Data.List -import Control.Applicative import Network.BSD import System.FilePath import Data.Hash.MD5 import System.Directory +import Control.Applicative +import Prelude type LockFile = FilePath