mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-04 00:50:42 +02:00
compile fix
This commit is contained in:
parent
3796182eb1
commit
0e6d92118f
@ -7,6 +7,7 @@
|
||||
#include "slsDetectorServer_defs.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/sysinfo.h>
|
||||
#include <unistd.h> // usleep
|
||||
|
||||
@ -450,7 +451,7 @@ int openFileForFlash(char *mess, FILE **flashfd, FILE **srcfd) {
|
||||
|
||||
#ifndef VIRTUAL
|
||||
// check if its a normal file or special file
|
||||
structure stat buf;
|
||||
struct stat buf;
|
||||
if (stat(flashDriveName, &buf) == -1) {
|
||||
sprintf(mess,
|
||||
"Could not %s. Unable to validate if flash drive found is a "
|
||||
|
Loading…
x
Reference in New Issue
Block a user