aboutsummaryrefslogtreecommitdiff
path: root/src/sg_compare_and_write.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2013-08-08 14:45:41 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2013-08-08 14:45:41 +0000
commit81c585f852c09f67e6aabb36cccd0eec0c7768b0 (patch)
tree5fb06c502db25a254d1ca76f1da2790564e134bb /src/sg_compare_and_write.c
parent070138c9d60d9b70dc809e1a200af6e7d15d8a4a (diff)
downloadsg3_utils-81c585f852c09f67e6aabb36cccd0eec0c7768b0.tar.gz
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
Diffstat (limited to 'src/sg_compare_and_write.c')
-rw-r--r--src/sg_compare_and_write.c4
1 files changed, 3 insertions, 1 deletions
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 <unistd.h>
#include <fcntl.h>
@@ -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)