sparse, llvm: Fix struct code generation
[smatch.git] / compat-bsd.c
blob4f3c8c0bd6dc39c0a0b065376d03f5f652f8919e
1 /*
2 * BSD Compatibility functions
5 * Licensed under the Open Software License version 1.1
6 */
8 #include <sys/types.h>
9 #include <string.h>
11 #include "lib.h"
12 #include "allocate.h"
13 #include "token.h"
15 #include "compat/mmap-blob.c"
17 long double string_to_ld(const char *nptr, char **endptr)
19 return strtod(nptr, endptr);