Fix for dragonfly

This commit is contained in:
Andrew Pamment 2018-05-26 11:48:06 +10:00
parent 6bce190c1a
commit 5920963420
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -94,3 +94,4 @@ mail.out
utils/mnettoss/mnettoss utils/mnettoss/mnettoss
mnet/* mnet/*
utils/mnetsubunsub/mnetsubunsub utils/mnetsubunsub/mnetsubunsub
deps/libuuid/autom4te.cache

View File

@ -3,7 +3,11 @@
#include <stdlib.h> #include <stdlib.h>
#include <sqlite3.h> #include <sqlite3.h>
#include <ctype.h> #include <ctype.h>
#ifdef __DragonFly__
#include <sha.h>
#else
#include <openssl/sha.h> #include <openssl/sha.h>
#endif
#include "bbs.h" #include "bbs.h"
#include "inih/ini.h" #include "inih/ini.h"