]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/rsconf.cpp
Fix compilation issues on FreeBSD4
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / rsconf.cpp
index bc586d2db71868d6844a27782d84d8591992d936..479a135703f24edbdaff610732da870e5393e299 100644 (file)
 *
 *******************************************************************/
 
 *
 *******************************************************************/
 
+#include <unistd.h> // cloase, usleep
+
 #include <cerrno>
 #include <csignal>
 #include <cstdio> // snprintf
 
 #include <cerrno>
 #include <csignal>
 #include <cstdio> // snprintf
 
+#include "stg/blowfish.h"
 #include "configproto.h"
 #include "configproto.h"
-#include "blowfish.h"
 
 #ifndef ENODATA
 // FreeBSD 4.* - suxx
 
 #ifndef ENODATA
 // FreeBSD 4.* - suxx
@@ -527,7 +529,7 @@ while (li != answerList.end())
             }
         }
     k = 0;// new node
             }
         }
     k = 0;// new node
-    li++;
+    ++li;
     }
 
 if (answerList.empty()) {
     }
 
 if (answerList.empty()) {