aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/log.c3
-rw-r--r--src/nvim/os/os_defs.h7
2 files changed, 0 insertions, 10 deletions
diff --git a/src/nvim/log.c b/src/nvim/log.c
index 236fdb6d12..3575f49e78 100644
--- a/src/nvim/log.c
+++ b/src/nvim/log.c
@@ -10,9 +10,6 @@
#include "nvim/os/os.h"
#include "nvim/os/time.h"
-#ifdef HAVE_SYS_TIME_H
-# include <sys/time.h>
-#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
diff --git a/src/nvim/os/os_defs.h b/src/nvim/os/os_defs.h
index 1d16111066..4f38e6dcf8 100644
--- a/src/nvim/os/os_defs.h
+++ b/src/nvim/os/os_defs.h
@@ -33,14 +33,7 @@
# define SIGDUMMYARG
#endif
-// On some systems, time.h should not be included together with sys/time.h.
-#if !defined(HAVE_SYS_TIME_H) || defined(TIME_WITH_SYS_TIME)
# include <time.h>
-#endif
-
-#ifdef HAVE_SYS_TIME_H
-# include <sys/time.h>
-#endif
#if defined(DIRSIZ) && !defined(MAXNAMLEN)
# define MAXNAMLEN DIRSIZ