Permalink
Browse files

Fix tests on windows: testketama and testapp

Fixes link errors like this:

testketama.dobj : error LNK2019: unresolved external symbol _snprintf referenced in function _main
testketama.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.exe"' : return code '0x460'

Change-Id: I4f73504d9717c44fb75bd0c3422f5d0f6be08a1b
Reviewed-on: http://review.couchbase.org/16993
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  • Loading branch information...
avsej authored and trondn committed Jun 8, 2012
1 parent 93af7c9 commit e4f86fc3a1545b5b6f22a6b5eb547af5fd0b803f
Showing with 2 additions and 0 deletions.
  1. +1 −0 tests/testapp.c
  2. +1 −0 tests/testketama.c
View
@@ -4,6 +4,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
+#include <strings.h>
#include <libvbucket/vbucket.h>
View
@@ -5,6 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
#include <libvbucket/vbucket.h>
#include "src/hash.h"

0 comments on commit e4f86fc

Please sign in to comment.