Obsolete sys/time.h and HAVE_TIME_WITH_SYS_TIME
[citadel.git] / libcitadel / lib / vnote.c
index 4460c3323fe46d617d3600e9a8fecc8043fef44e..59b95208fd6624969826ea918d466d18865537a1 100644 (file)
@@ -1,6 +1,6 @@
 // vNote implementation for Citadel
 //
-// Copyright (C) 1999-2007 by the citadel.org development team.
+// Copyright (C) 1999-2023 by the citadel.org development team.
 //
 // This program is open source software.  Use, duplication, or disclosure
 // is subject to the terms of the GNU General Public License, version 3.
 #include <stdio.h>
 #include <fcntl.h>
 #include <signal.h>
-
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-#  include <sys/time.h>
-# else
-#  include <time.h>
-# endif
-#endif
-
+#include <time.h>
 #include <ctype.h>
 #include <string.h>
 #include <errno.h>