1diff -urEb dcmtk-3.6.2.orig/ofstd/include/dcmtk/ofstd/offile.h dcmtk-3.6.2/ofstd/include/dcmtk/ofstd/offile.h
2--- dcmtk-3.6.2.orig/ofstd/include/dcmtk/ofstd/offile.h	2017-07-14 17:41:11.000000000 +0200
3+++ dcmtk-3.6.2/ofstd/include/dcmtk/ofstd/offile.h	2018-01-02 13:56:04.075293459 +0100
4@@ -551,7 +551,7 @@
5    */
6   void setlinebuf()
7   {
8-#if defined(_WIN32) || defined(__hpux)
9+#if defined(_WIN32) || defined(__hpux) || defined(__LSB_VERSION__)
10     this->setvbuf(NULL, _IOLBF, 0);
11 #else
12     :: setlinebuf(file_);
13