]> granicus.if.org Git - pdns/commitdiff
Backport #6041: Add the missing <sys/time.h> include to mplexer.hh for struct timeval
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 4 Dec 2017 08:41:49 +0000 (09:41 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 13 Feb 2018 11:09:54 +0000 (12:09 +0100)
(cherry picked from commit f1d51ff73fe0cf9d370e51a2aef7ba38c990e17f)

pdns/mplexer.hh

index 3e9c8cd3eb7cc6dfd27ba3fcf3c1637a1d409f00..880abd18be2a9867c1d8e4a25a11798fa7015658 100644 (file)
@@ -30,6 +30,7 @@
 #include <map>
 #include <stdexcept>
 #include <string>
+#include <sys/time.h>
 
 class FDMultiplexerException : public std::runtime_error
 {