fix build, missing limits.h include

This commit is contained in:
Enno Rehling 2015-07-07 09:44:24 +02:00
parent 1e669472a6
commit d7e5876c62
2 changed files with 15 additions and 14 deletions

View File

@ -53,6 +53,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
/* in spy steht der Unterschied zwischen Wahrnehmung des Opfers und
* Spionage des Spions */

View File

@ -116,7 +116,7 @@ static void test_sabotage_self(CuTest *tc) {
r = test_create_region(0, 0, NULL);
assert(r);
u = test_create_unit(test_create_faction(NULL), r);
assert(u && u->faction && u->region==r);
assert(u && u->faction && u->region == r);
u->ship = test_create_ship(r, test_create_shiptype("boat"));
assert(u->ship);
ord = create_order(K_SABOTAGE, lang, "SCHIFF");