make everything work on freebsd

This commit is contained in:
josch
2014-12-09 09:07:47 +01:00
parent c8a0f2a942
commit 5bd9e418c4
9 changed files with 97 additions and 5 deletions

View File

@@ -21,7 +21,9 @@
#include <stdio.h>
#include <string.h>
#include <openssl/sha.h>
#ifdef __linux
#include <bits/fcntl-linux.h>
#endif
#include <stdint.h>
#include <stdlib.h>