X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fgettimeofday.c;h=be9a4a0ce3cfb698b5f276720d790571537f43f6;hp=c14c36ed049da08a72c102d3702d9e7d84376b8d;hb=4e500dea9790b5ff9ea4fbb3d150c358e3bd2cab;hpb=a60cfb6333496199c7c1d52d67ab8a3835597b48 diff --git a/src/gettimeofday.c b/src/gettimeofday.c index c14c36e..be9a4a0 100644 --- a/src/gettimeofday.c +++ b/src/gettimeofday.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ @@ -20,7 +20,9 @@ #include #include #endif -#include +#if HAVE_SYS_TIME_H +#include +#endif #include int yaz_gettimeofday(struct timeval *tval)