From e5d11c27b56bfa3b080c1fad48ddb4029a809737 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Wed, 4 Jun 2014 19:37:37 +0200
Subject: [PATCH] Add missing include of stddef.h.

---
 ChangeLog      | 3 +++
 nettle-write.h | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 67a7119c..23e60d54 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-06-04  Niels Möller  <nisse@lysator.liu.se>
 
+	* nettle-write.h: Include <stddef.h>, fixing compilation on
+	freebsd.
+
 	* aclocal.m4 (ac_stdint): Fixed "unsinged" typo, spotted by Andy
 	Goth.
 
diff --git a/nettle-write.h b/nettle-write.h
index dfaac7a7..75f4679b 100644
--- a/nettle-write.h
+++ b/nettle-write.h
@@ -34,6 +34,9 @@
 #ifndef NETTLE_WRITE_H_INCLUDED
 #define NETTLE_WRITE_H_INCLUDED
 
+/* For size_t */
+#include <stddef.h>
+
 #include "nettle-stdint.h"
 
 /* Write the word array at SRC to the byte array at DST, using little
-- 
GitLab