Skip to content

Commit 0179547

Browse files
committed
luzer: fix undefined symbol on loading module
Fixes #6
1 parent 45231c6 commit 0179547

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

luzer/fuzzed_data_provider.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44
* Copyright 2022-2023, Sergey Bronnikov
55
*/
66

7+
#ifdef __cplusplus
8+
extern "C" {
9+
#endif
710
#include <lua.h>
811
#include <lauxlib.h>
912
#include <lualib.h>
1013
#include <float.h>
14+
#ifdef __cplusplus
15+
} /* extern "C" */
16+
#endif
1117
#include <fuzzer/FuzzedDataProvider.h>
1218

1319
#include "fuzzed_data_provider.h"

0 commit comments

Comments
 (0)