Project

General

Profile

Bug #2293 ยป 0001-Include-cstdlib-before-vector-to-fix-build-with-g-6.patch

SPAM, 02/06/2016 11:16 AM

View differences:

sudoku.h
#ifndef VDR_SUDOKU_H
#define VDR_SUDOKU_H
#include <cstdlib>
#include <vector>
......
#ifdef USE_RAND
#include <stdlib.h>
#include <time.h>
/** Random number 0 .. max-1 */
static unsigned int rand(unsigned int max)
    (1-1/1)