summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/apps.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/apps.h b/apps/apps.h
index 10e1534503..fc96d81e1c 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -112,6 +112,9 @@
# define HEADER_APPS_H
# include "e_os.h"
+# if defined(__unix) || defined(__unix__)
+# include <sys/time.h> /* struct timeval for DTLS */
+# endif
# include <assert.h>
# include <openssl/e_os2.h>