Cinterop can't find FILE type [ERROR]
Hi there! I’m trying to build Kotlin/Multiplatform library, and I’m somewhat stuck with its Kotlin/Native implementation because of this error:
Exception in thread "main" java.lang.Error: IdeaProjects\multifile\multifile-in-c\src\main\public\multifile.h
1529: error: unknown type name 'FILE'
Here is my multifile.h:
#ifndef MULTIFILE_IN_C_MULTIFILE_H
#define MULTIFILE_IN_C_MULTIFILE_H
#include
#include
typedef struct {
long size;
unsigned char* bytesPointer;
bool eof;
}...