* block.c (block_ioctl): add ifdef/endif around BLKGETSIZE64 usage
* strace.c (trace): add ifdef/endif around WIFCONTINUED usage
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
}
break;
+#ifdef BLKGETSIZE64
/* return an uint64_t */
case BLKGETSIZE64:
if (exiting(tcp)) {
tprintf(", %" PRIu64, val);
}
break;
+#endif
/* More complex types */
case BLKDISCARD:
sprintf(buf, "WIFEXITED,exitcode=%u", WEXITSTATUS(status));
if (WIFSTOPPED(status))
sprintf(buf, "WIFSTOPPED,sig=%s", signame(WSTOPSIG(status)));
+#ifdef WIFCONTINUED
if (WIFCONTINUED(status))
strcpy(buf, "WIFCONTINUED");
+#endif
fprintf(stderr, " [wait(0x%04x) = %u] %s\n", status, pid, buf);
}