opnsense-ports/sysutils/dd_rescue/files/patch-sha512.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

18 lines
449 B
C

--- sha512.c.orig 2014-08-07 02:38:59.000000000 +0900
+++ sha512.c 2014-08-13 23:04:15.000000000 +0900
@@ -13,13 +13,14 @@
#endif
#include "sha512.h"
+#include "ffs.h"
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <netinet/in.h>
#include <assert.h>
#include <unistd.h>
-#include <endian.h>
+#include <machine/endian.h>
/*
Note 1: All variables are 64 bit unsigned integers and addition is calculated modulo 2^64