Skip to content

Commit

Permalink
Fix linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
niklas2902 committed Oct 29, 2024
1 parent 7cffd25 commit 589f2f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py4godot/godot_bindings/pythonscript.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#include "main.h"
#include "gdextension_interface.h"
#ifdef __linux__
#include <iostream>
#include <dlfcn.h> // For dlopen, dlsym, dlclose

#endif

typedef GDExtensionBool (*Py4GodotInitFunc)(GDExtensionInterfaceGetProcAddress p_get_proc_address,
GDExtensionClassLibraryPtr p_library,
Expand Down

0 comments on commit 589f2f1

Please sign in to comment.