#include <sys/stat.h> needed for fstat().
authorIan Abbott <abbotti@mev.co.uk>
Wed, 5 Jan 2011 15:02:44 +0000 (15:02 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 5 Jan 2011 15:02:44 +0000 (15:02 +0000)
lib/calib.c

index 0677c63a412058433293bf7c926bbeb0724c2921..ee823bc0f6acd1a39a08f881c108230c96b3c636 100644 (file)
@@ -27,6 +27,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
+#include <sys/stat.h>
 #include "libinternal.h"
 
 static int set_calibration( comedi_t *dev, const comedi_calibration_t *parsed_file,