From 81c585f852c09f67e6aabb36cccd0eec0c7768b0 Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Thu, 8 Aug 2013 14:45:41 +0000 Subject: sg_compare_and_write: solaris fix; and -b to sg_tst_excl+sg_tst_excl2 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@505 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- src/sg_compare_and_write.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/sg_compare_and_write.c') diff --git a/src/sg_compare_and_write.c b/src/sg_compare_and_write.c index f97ca4bf..a91fe661 100644 --- a/src/sg_compare_and_write.c +++ b/src/sg_compare_and_write.c @@ -28,10 +28,12 @@ * */ +#ifndef __sun #define _XOPEN_SOURCE 500 #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif +#endif #include #include @@ -48,7 +50,7 @@ #include "sg_cmds_basic.h" #include "sg_pt.h" -static const char * version_str = "1.06 20130604"; +static const char * version_str = "1.07 20130807"; #define DEF_BLOCK_SIZE 512 #define DEF_NUM_BLOCKS (1) -- cgit v1.2.3