X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fgettimeofday.c;h=640cd903cde44809e84ab7ee544ef57dac74361f;hp=c14c36ed049da08a72c102d3702d9e7d84376b8d;hb=8375be590a8640cd5673106bc828dd6d4711be28;hpb=a60cfb6333496199c7c1d52d67ab8a3835597b48 diff --git a/src/gettimeofday.c b/src/gettimeofday.c index c14c36e..640cd90 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) 1995-2013 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)