fatal error: 'stddef.h' file not found
Gorzen opened this issue · comments
Lucien Iseli commented
I'm trying to generate bindings for LMDB but I can't manage to. It looks like clang can't find the files it wants. I'm not sure how to say where he can find them.
It looks at /usr/include/stddef.h but there is nothing there.
I'm on Arch Linux.
There is a file stddef.h at /usr/include/linux/stddef.h but it's almost empty, it only contains these lines:
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef __always_inline
#define __always_inline __inline__
#endif
If I tell him to get this file there are issues later, such as size_t being undefined.
I don't know what specific information could be useful to debug this, feel free to ask me additional information.