/* Header file for additional functions required by dcraw */
#include <string.h>
#include <stdio.h>

#define M_PI 3.141592654
#define M_SQRT1_2 0.707106781

/* ssize_t is a signed integer type defined in sys/types.h */

int isatty(int dummy);

size_t strnlen(const char *s, size_t maxlen);

int strncasecmp(const char *s1, const char *s2, size_t n);

int strcasecmp(const char *s1, const char *s2);

char *getcwd(char *buf, size_t size);

void swab(const void *from, void *to, ssize_t n);

int fileno(FILE *file);

int set_file_type(char *file_name, int file_type);

