From 4adf25952f8af0a8b61b3737b46c6a7146fd034a Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Sun, 28 Dec 2014 13:10:27 -0500 Subject: systemtime: Fix includes and check for _POSIX_TIMERS Fix missing include of windows.h on windows platform. Change check for _POSIX_TIMERS to check that it is greater than 0. On OS X, the POSIX timers are not available and _POSIX_TIMERS is -1. --- src/systemtime.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/systemtime.h') diff --git a/src/systemtime.h b/src/systemtime.h index 90da169..0a6a66c 100644 --- a/src/systemtime.h +++ b/src/systemtime.h @@ -14,18 +14,12 @@ You should have received a copy of the GNU General Public License along with Redshift. If not, see . - Copyright (c) 2010 Jon Lund Steffensen + Copyright (c) 2010-2014 Jon Lund Steffensen */ #ifndef REDSHIFT_SYSTEMTIME_H #define REDSHIFT_SYSTEMTIME_H -#ifndef _WIN32 -# include -#else -# include -#endif - int systemtime_get_time(double *now); -- cgit v1.2.3-70-g09d2