From 0e6d92118f76769a965d726ad596af525260702b Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Thu, 17 Mar 2022 16:57:08 +0100 Subject: [PATCH] compile fix --- slsDetectorServers/slsDetectorServer/src/programViaBlackfin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slsDetectorServers/slsDetectorServer/src/programViaBlackfin.c b/slsDetectorServers/slsDetectorServer/src/programViaBlackfin.c index 815086f95..339e3c2a2 100644 --- a/slsDetectorServers/slsDetectorServer/src/programViaBlackfin.c +++ b/slsDetectorServers/slsDetectorServer/src/programViaBlackfin.c @@ -7,6 +7,7 @@ #include "slsDetectorServer_defs.h" #include +#include #include #include // 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 "