Obsolete sys/time.h and HAVE_TIME_WITH_SYS_TIME
[citadel.git] / libcitadel / lib / vcard.c
index b58f61c967f748c37d99816eb6dd9c23f46e3b36..a3ea54c791976736387d16d090a56835c794db11 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * vCard implementation for Citadel
  *
- * Copyright (C) 1999-2008 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>