Only include listener.h when compiling C++

This commit is contained in:
smallmodel 2023-11-13 18:36:20 +01:00
parent cb73cfd57b
commit 410f1c0ed8
No known key found for this signature in database
GPG key ID: A96F163ED4891440

View file

@ -22,7 +22,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#pragma once
#include "listener.h"
#ifdef __cplusplus
# include "listener.h"
#endif
#include "g_public.h"
#ifdef __cplusplus