forked from pool/argyllcms
26 lines
742 B
Diff
26 lines
742 B
Diff
|
gettimeofday() is declared in sys/time.h.
|
||
|
Index: Argyll_V1.6.0/spectro/conv.c
|
||
|
===================================================================
|
||
|
--- Argyll_V1.6.0.orig/spectro/conv.c
|
||
|
+++ Argyll_V1.6.0/spectro/conv.c
|
||
|
@@ -16,6 +16,7 @@
|
||
|
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
+#include <sys/time.h>
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <stdarg.h>
|
||
|
Index: Argyll_V1.6.0/spectro/usbio_lx.c
|
||
|
===================================================================
|
||
|
--- Argyll_V1.6.0.orig/spectro/usbio_lx.c
|
||
|
+++ Argyll_V1.6.0/spectro/usbio_lx.c
|
||
|
@@ -20,6 +20,7 @@
|
||
|
#include <dirent.h>
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
+#include <sys/time.h>
|
||
|
#include <fcntl.h>
|
||
|
#include <sys/ioctl.h>
|
||
|
#include <linux/usbdevice_fs.h>
|