Correct unix only build error
diff --git a/test/test.c b/test/test.c
index d6ca8f6..8fcbf58 100644
--- a/test/test.c
+++ b/test/test.c
@@ -665,7 +665,7 @@
 	while ((dp = readdir(dirp)) != NULL) {
 		int cch = strlen(dp->d_name);
 		if (cch < 4) continue;
-		if (strcmp(pd->d_name, "Triple-01.json") == 0) continue;
+		if (strcmp(dp->d_name, "Triple-01.json") == 0) continue;
 		rgchFullName[ich] = 0;
 		if (ich + strlen(dp->d_name) >= sizeof(rgchFullName) - 2) {
 			fprintf(stderr, "Buffer overflow problem\n");