diff --git a/slsDetectorCalibration/slsReceiverData.h b/slsDetectorCalibration/slsReceiverData.h index fab0d8dfa..15771c5d7 100644 --- a/slsDetectorCalibration/slsReceiverData.h +++ b/slsDetectorCalibration/slsReceiverData.h @@ -3,7 +3,7 @@ #include "slsDetectorData.h" #include - +#include // exit() template class slsReceiverData : public slsDetectorData { @@ -107,7 +107,7 @@ public: break; } else { //cprintf(BG_RED, "Too many packets for this frame! fnum:%d, pnum:%d np:%d\n",fnum,pnum,np); - cout << "Too many packets for this frame! "<< fnum << " " << pnum << endl; + cout << "Too many packets for this frame! "<< fnum << " " << pnum << endl;cprintf(BG_RED,"Exiting\n");exit(-1); retval=NULL; } } @@ -115,7 +115,7 @@ public: if (np0){ //cprintf(BG_RED, "Too few packets for this frame! fnum:%d, pnum:%d np:%d\n",fnum,pnum,np); - cout << "Too few packets for this frame! "<< fnum << " " << pnum << endl; + cout << "Too few packets for this frame! "<< fnum << " " << pnum << " " << np <