[commit: packages/time] master: remove dependency on ghcconfig.h (f67b546)
git at git.haskell.org
git at git.haskell.org
Sun Dec 20 07:49:30 UTC 2015
Repository : ssh://git@git.haskell.org/time
On branch : master
Link : http://git.haskell.org/packages/time.git/commitdiff/f67b5466dd799a0ce8b7847a71b1fa9f2ad6f2c2
>---------------------------------------------------------------
commit f67b5466dd799a0ce8b7847a71b1fa9f2ad6f2c2
Author: Ross Paterson <ross at soi.city.ac.uk>
Date: Tue May 30 16:30:29 2006 -0700
remove dependency on ghcconfig.h
darcs-hash:20060530233029-b47d3-8879f40442c09036bcb394df9f8bcf4f08a40d12
>---------------------------------------------------------------
f67b5466dd799a0ce8b7847a71b1fa9f2ad6f2c2
configure.ac | 1 +
include/HsTime.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 51dbd33..f2e4186 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,6 +5,7 @@ AC_CONFIG_SRCDIR([include/HsTime.h])
AC_CONFIG_HEADERS([include/HsTimeConfig.h])
+AC_CHECK_HEADERS([time.h])
AC_CHECK_FUNCS([gmtime_r localtime_r])
AC_STRUCT_TM
diff --git a/include/HsTime.h b/include/HsTime.h
index b447792..b8da946 100644
--- a/include/HsTime.h
+++ b/include/HsTime.h
@@ -1,7 +1,6 @@
#ifndef __HSTIME_H__
#define __HSTIME_H__
-#include "ghcconfig.h"
#include "HsTimeConfig.h"
#if HAVE_TIME_H
More information about the ghc-commits
mailing list