Skip to content

Commit 6c56bfc

Browse files
committed
Include headers and add to Makefile dependencies
1 parent 7303419 commit 6c56bfc

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ config.mk: config.mk.in
6666

6767
libchecktestdata.o: config.mk
6868
libchecktestdata.o: $(PARSER_GEN)
69-
libchecktestdata.o: %.o: %.cc %.hpp databuffer.hpp parser.h
69+
libchecktestdata.o: %.o: %.cc %.hpp databuffer.hpp bigint.hpp parser.h
7070

7171
checktestdata: CPPFLAGS += $(BOOST_CPPFLAGS)
7272
checktestdata: LDFLAGS += $(BOOST_LDFLAGS) $(STATIC_LINK_START) $(LIBGMPXX) $(STATIC_LINK_END)

bigint.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
#error "This code requires the __builtin_*_overflow compiler builtin functions."
66
#endif
77

8+
#include <gmpxx.h>
9+
810
/**
911
* Wrapper around gmp's mpz_class, with a fast path for values that fit in a long.
1012
*/

libchecktestdata.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include "parser.h"
3232
#include "libchecktestdata.hpp"
3333
#include "databuffer.hpp"
34+
#include "bigint.hpp"
3435

3536
using namespace std;
3637

0 commit comments

Comments
 (0)