summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-03-07 13:21:24 +0100
committerSébastien Helleu <flashcode@flashtux.org>2021-03-07 13:21:24 +0100
commitc49255a8515b5ac66f978c75e2785a18f6f6efeb (patch)
tree8ed2e0ab4942e54636cfa03816a0b2dd21a62e1f /src/core
parent2b1c2d6d05d55d176400d546a8b18b2231a82c3e (diff)
downloadweechat-c49255a8515b5ac66f978c75e2785a18f6f6efeb.zip
core: add missing include of sys/time.h in C headers
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-debug.h2
-rw-r--r--src/core/wee-util.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/core/wee-debug.h b/src/core/wee-debug.h
index b83803eef..617000973 100644
--- a/src/core/wee-debug.h
+++ b/src/core/wee-debug.h
@@ -20,6 +20,8 @@
#ifndef WEECHAT_DEBUG_H
#define WEECHAT_DEBUG_H
+#include <sys/time.h>
+
struct t_gui_window_tree;
extern void debug_sigsegv ();
diff --git a/src/core/wee-util.h b/src/core/wee-util.h
index e64aebbed..d38d3084b 100644
--- a/src/core/wee-util.h
+++ b/src/core/wee-util.h
@@ -21,6 +21,7 @@
#define WEECHAT_UTIL_H
#include <time.h>
+#include <sys/time.h>
#ifdef HAVE_SYS_RESOURCE_H
struct t_rlimit_resource