diff options
Diffstat (limited to 'compat-bsd.c')
| -rw-r--r-- | compat-bsd.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/compat-bsd.c b/compat-bsd.c new file mode 100644 index 00000000..4f3c8c0b --- /dev/null +++ b/compat-bsd.c @@ -0,0 +1,20 @@ +/* + * BSD Compatibility functions + * + * + * Licensed under the Open Software License version 1.1 + */ + +#include <sys/types.h> +#include <string.h> + +#include "lib.h" +#include "allocate.h" +#include "token.h" + +#include "compat/mmap-blob.c" + +long double string_to_ld(const char *nptr, char **endptr) +{ + return strtod(nptr, endptr); +} |
