Browse Source

Doesn't compile without explicitly included inttypes.h on some machines

Vitalii Demianets 11 years ago
parent
commit
f5193bfd57
1 changed files with 3 additions and 0 deletions
  1. 3 0
      miner.h

+ 3 - 0
miner.h

@@ -28,6 +28,9 @@
 #include <jansson.h>
 #include <curl/curl.h>
 #include <sched.h>
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
 
 #include <blkmaker.h>
 #include <blktemplate.h>