1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

event libs: glib: use glib.h specifically

https://github.com/warmcat/libwebsockets/issues/2338
This commit is contained in:
marcelo-gonzalez 2021-07-08 05:57:31 +01:00 committed by Andy Green
parent 6e3a6d9990
commit 1809f37011

View file

@ -1,7 +1,7 @@
/*
* libwebsockets - small server side websockets and web server implementation
*
* Copyright (C) 2010 - 2020 Andy Green <andy@warmcat.com>
* Copyright (C) 2010 - 2021 Andy Green <andy@warmcat.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
@ -22,13 +22,7 @@
* IN THE SOFTWARE.
*/
#if defined(LWS_WITH_GLIB)
#if defined(__APPLE__)
#include <glib.h>
#else
#include <glib-2.0/glib.h>
#endif
#endif /* LWS_WITH_GLIB */
typedef struct lws_glib_tag {
GSource *gs;