output/httpd: don't include glib.h in header
This commit is contained in:
parent
efc3a69dbf
commit
86316b1828
|
@ -26,6 +26,8 @@
|
|||
#include "system/SocketError.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -30,8 +30,6 @@
|
|||
#include "thread/Mutex.hxx"
|
||||
#include "event/ServerSocket.hxx"
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include <forward_list>
|
||||
|
||||
struct config_param;
|
||||
|
@ -121,7 +119,7 @@ struct HttpdOutput final : private ServerSocket {
|
|||
* The maximum and current number of clients connected
|
||||
* at the same time.
|
||||
*/
|
||||
guint clients_max, clients_cnt;
|
||||
unsigned clients_max, clients_cnt;
|
||||
|
||||
HttpdOutput(EventLoop &_loop);
|
||||
~HttpdOutput();
|
||||
|
|
|
@ -33,6 +33,8 @@
|
|||
#include "util/Domain.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
|
@ -91,7 +93,7 @@ HttpdOutput::Configure(const config_param ¶m, Error &error)
|
|||
genre = param.GetBlockValue("genre", "Set genre in config");
|
||||
website = param.GetBlockValue("website", "Set website in config");
|
||||
|
||||
guint port = param.GetBlockValue("port", 8000u);
|
||||
unsigned port = param.GetBlockValue("port", 8000u);
|
||||
|
||||
const char *encoder_name =
|
||||
param.GetBlockValue("encoder", "vorbis");
|
||||
|
|
Loading…
Reference in New Issue