summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/Makefile.am3
-rw-r--r--g10/tofu.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/g10/Makefile.am b/g10/Makefile.am
index 7b87e6a32..95944b8ed 100644
--- a/g10/Makefile.am
+++ b/g10/Makefile.am
@@ -74,7 +74,8 @@ trust_source = trustdb.c trustdb.h tdbdump.c tdbio.c tdbio.h
endif
if USE_TOFU
-tofu_source = tofu.h tofu.c gpgsql.c gpgsql.h sqrtu32.c sqrtu32.h
+tofu_source = tofu.h tofu.c gpgsql.c gpgsql.h
+#sqrtu32.c sqrtu32.h
else
tofu_source =
endif
diff --git a/g10/tofu.c b/g10/tofu.c
index 9e07d21ce..3dc0365b6 100644
--- a/g10/tofu.c
+++ b/g10/tofu.c
@@ -41,7 +41,9 @@
#include "mkdir_p.h"
#include "gpgsql.h"
#include "status.h"
-#include "sqrtu32.h"
+/* #include "sqrtu32.h" */
+#define sqrtu32(a) (a) /* TEMP hack due to missing commit. */
+
#include "tofu.h"