Permalink
Browse files

Fixed INT64_C include.

  • Loading branch information...
1 parent 78e8b7f commit c94483bf4433aeb94a534aeb2addf3dcfbdf0c1b @rakshasa committed Apr 2, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 test/torrent/object_stream_test.cc
@@ -1,14 +1,15 @@
#include "config.h"
+#define __STDC_CONSTANT_MACROS
+
#include <iostream>
#include <sstream>
+#include <inttypes.h>
#include <torrent/object.h>
#include "object_stream_test.h"
#include "object_test_utils.h"
-#define __STDC_CONSTANT_MACROS
-
CPPUNIT_TEST_SUITE_REGISTRATION(ObjectStreamTest);
static const char* ordered_bencode = "d1:ei0e4:ipv44:XXXX4:ipv616:XXXXXXXXXXXXXXXX1:md11:upload_onlyi3e12:ut_holepunchi4e11:ut_metadatai2e6:ut_pexi1ee13:metadata_sizei15408e1:pi16033e4:reqqi255e1:v15:uuTorrent 1.8.46:yourip4:XXXXe";

0 comments on commit c94483b

Please sign in to comment.