move #include of sys/time.h

merge-requests/1/head
Stphane Voltz 2009-07-09 07:54:58 +02:00
rodzic d6bfdee293
commit 2688d1fcd3
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -50,9 +50,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <math.h> #include <math.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include "../include/sane/sane.h" #include "../include/sane/sane.h"
#include "../include/sane/sanei.h" #include "../include/sane/sanei.h"

Wyświetl plik

@ -52,6 +52,9 @@
#define GENESYS_LOW_H #define GENESYS_LOW_H
#include <stddef.h> #include <stddef.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include "../include/sane/sane.h" #include "../include/sane/sane.h"
#define DBG_error0 0 /* errors/warnings printed even with devuglevel 0 */ #define DBG_error0 0 /* errors/warnings printed even with devuglevel 0 */