diff --git a/src/ClientInternal.hxx b/src/ClientInternal.hxx index f8944b657..5e41333e4 100644 --- a/src/ClientInternal.hxx +++ b/src/ClientInternal.hxx @@ -27,7 +27,7 @@ #include #include -#include +#include #include @@ -97,7 +97,7 @@ public: /** * A list of messages this client has received. */ - std::deque messages; + std::list messages; Client(struct player_control *player_control, int fd, int uid, int num); diff --git a/src/InotifyQueue.cxx b/src/InotifyQueue.cxx index a2e21272f..0d19ff083 100644 --- a/src/InotifyQueue.cxx +++ b/src/InotifyQueue.cxx @@ -21,7 +21,7 @@ #include "InotifyQueue.hxx" #include "UpdateGlue.hxx" -#include +#include #include #include @@ -40,7 +40,7 @@ enum { INOTIFY_UPDATE_DELAY_S = 5, }; -static std::deque inotify_queue; +static std::list inotify_queue; static guint queue_source_id; void