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:
parent
6e3a6d9990
commit
1809f37011
1 changed files with 1 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue