[Kde-imaging] [Bug 118407] dcrawprocess.cpp does not compileon Solaris

Thiago Macieira thiago at kde.org
Fri Dec 16 03:11:42 CET 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=118407         
thiago kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From thiago kde org  2005-12-16 03:11 -------
SVN commit 488831 by thiago:

* Remove getopt.h from the includes: it's only needed for getopt_long, which
  isn't used here.
* Add stdlib.h because Solaris has getopt there instead of unistd.h (which
  sounds like the correct place to be, since getopt isn't part of ISO C).
* Move sys/types.h to the top, just to be on the safe side.

BUG:118407


 M  +2 -2      dcrawprocess.cpp  


--- trunk/extragear/libs/kipi-plugins/rawconverter/dcrawprocess.cpp #488830:488831
 @ -25,12 +25,12  @
 
 extern "C"
 {
+#include <sys/types.h>
 #include <stdio.h>
 #include <unistd.h>
-#include <sys/types.h>
+#include <stdlib.h>
 #include <sys/wait.h>
 #include <signal.h>
-#include <getopt.h>
 #include <jpeglib.h>
 #include <tiffio.h>
 }


More information about the Kde-imaging mailing list