To start with, both ssize_t and AF_INET are undeclared, and I cannot find what I should be including to get them. The closest I could find for ssize_t was in the stddef.h that comes with Arduino (and it had BEOS guards around it), and I couldn't find any reference to AF_INET in the included libraries.
I've tried all the places I could think of (unistd.h, sys/types.h, ...), but I couldn't find these declarations. Any idea what I'm missing? Can I use my system's dev headers, or am I limited to the ones that come with Arduino? Here's the snippet I'd like to get working:
Code: Select all
#include ???
#include ???
void setup() {
int af = AF_INET;
ssize_t a = 8;
}
void loop() {}
The library I'm trying to get running is: https://github.com/tempodb/tempodb-embedded-c
Thanks,
Patrick