(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 12 Apr 2011 13:50:03 +0000 (13:50 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 12 Apr 2011 13:50:03 +0000 (13:50 +0000)
src/transport/gnunet-service-transport.c

index 58eec5fe4a752b57b2cb68c64a1371900d63ef7b..48dd55de1cc3147279a39873f70004cbeeef54c2 100644 (file)
@@ -985,8 +985,9 @@ struct ATS_info
        GNUNET_SCHEDULER_TaskIdentifier ats_task;
 
        struct ATS_result res;
-
+#if HAVE_LIBGLPK
        glp_prob *prob;
+#endif
 };
 
 
@@ -5874,7 +5875,7 @@ return cont;
 }
 #endif
 
-static void ats_solve_problem (unsigned int  max_it, unsigned int  max_dur, unsigned int c_peers, unsigned int  c_mechs, struct ATS_result *res)
+static void ats_solve_problem (unsigned int max_it, unsigned int  max_dur, unsigned int c_peers, unsigned int  c_mechs, struct ATS_result *res)
 {
        int result;
        int solution;