Commit Diff


commit - 1b9900744f5cac2de071add4a1b678cf36713b63
commit + 481d9ea65dc2884473253a84cee23e8a562ac3b9
blob - 29b9792fd53e60161ca6d6e3e01dc112d9e07d98
blob + 74d84917a5cc4407db3cfe2e1d1dbc9057015dd7
--- got/Makefile.am
+++ got/Makefile.am
@@ -30,6 +30,7 @@ got_SOURCES = got.c \
 	$(top_srcdir)/lib/gotconfig.c \
 	$(top_srcdir)/lib/hash.c \
 	$(top_srcdir)/lib/inflate.c \
+	$(top_srcdir)/lib/keyword.c \
 	$(top_srcdir)/lib/lockfile.c \
 	$(top_srcdir)/lib/murmurhash2.c \
 	$(top_srcdir)/lib/object.c \
blob - f639075dadbb90313b88ab456af852512a3432ba
blob + de26ffa1417cd4d2308f644b6a33a4a778f1f47e
--- lib/keyword.c
+++ lib/keyword.c
@@ -13,6 +13,8 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
+
+#include "got_compat.h"
 
 #include <sys/queue.h>
 
@@ -22,8 +24,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <sha1.h>
-#include <sha2.h>
 
 #include "got_reference.h"
 #include "got_error.h"