]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Make the kqueue code compile. unit test fails atm.
authorOtto <otto.moerbeek@open-xchange.com>
Wed, 4 Aug 2021 13:12:22 +0000 (15:12 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Wed, 4 Aug 2021 13:12:22 +0000 (15:12 +0200)
pdns/kqueuemplexer.cc
pdns/pollmplexer.cc

index 72511589760d079cf2e4cb6a02b49485358d9056..34fcb8d798eb453735db3d1885ddbc5be3a1989d 100644 (file)
@@ -50,7 +50,7 @@ public:
   void getAvailableFDs(std::vector<int>& fds, int timeout) override;
 
   void addFD(int fd, FDMultiplexer::EventKind kind) override;
-  void removeFD(int fd) override;
+  void removeFD(int fd, FDMultiplexer::EventKind kind) override;
 
   string getName() const override
   {
index bd01f0b36d0d0a6b98964b6e3325b1ca5a7bde7a..924999c1b006626936584eaec2851c88b37cf909 100644 (file)
@@ -5,6 +5,7 @@
 #include "sstuff.hh"
 #include <iostream>
 #include <poll.h>
+#include <unordered_map>
 #include "misc.hh"
 #include "namespaces.hh"