mksquashfs: fix compilation on older toolchains

Compiling mksquashfs on RHEL 5 (gcc 4.1.2, glibc 2.5) gives the following
error:

    mksquashfs.c: In function ‘get_fragment’:
    mksquashfs.c:1440: error: label at end of compound statement

On RHEL 6 (gcc 4.4.7, glibc 2.12), the preprocessed output shows a difference
for pthread_cleanup_pop, which now has a dummy do {} while (0); statement,
presumably to fix this exact error.

Fix for RHEL 5 by manually inserting that dummy statement.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
2 files changed