Ticket #344: libffado-gcc47-v2.patch

File libffado-gcc47-v2.patch, 3.8 kB (added by oget, 9 years ago)
  • libffado-2.1.0/src/dice/dice_firmware_loader.cpp

    old new  
    4444 
    4545#include <string> 
    4646#include <cstring> 
     47#include <unistd.h> 
    4748#include <assert.h> 
    4849 
    4950#include "libutil/Configuration.h" 
  • libffado-2.1.0/tests/test-dice-eap.cpp

    old new  
    4545#include <iostream> 
    4646#include <cstdlib> 
    4747#include <cstring> 
     48#include <unistd.h> 
    4849 
    4950#include <signal.h> 
    5051int run; 
  • libffado-2.1.0/tests/test-fw410.cpp

    old new  
    2727#include <argp.h> 
    2828#include <stdlib.h> 
    2929#include <iostream> 
     30#include <unistd.h> 
    3031 
    3132using namespace std; 
    3233 
  • libffado-2.1.0/tests/test-ieee1394service.cpp

    old new  
    2929#include <stdlib.h> 
    3030#include <string.h> 
    3131#include <endian.h> 
     32#include <unistd.h> 
    3233 
    3334#include <getopt.h> 
    3435 
  • libffado-2.1.0/tests/test-ipcringbuffer.cpp

    old new  
    3030#include <stdlib.h> 
    3131#include <iostream> 
    3232#include <signal.h> 
     33#include <unistd.h> 
    3334 
    3435using namespace Util; 
    3536 
  • libffado-2.1.0/tests/test-messagequeue.cpp

    old new  
    3030#include <stdlib.h> 
    3131#include <iostream> 
    3232#include <signal.h> 
     33#include <unistd.h> 
    3334 
    3435#include <semaphore.h> 
    3536#include <cstring> 
  • libffado-2.1.0/tests/test-scs.cpp

    old new  
    477477        } 
    478478        #endif 
    479479 
    480         BridgeMapIterator it = seqport2bridgemap.find(portNumber); 
    481         if(it == seqport2bridgemap.end()) { 
     480        BridgeMapIterator it2 = seqport2bridgemap.find(portNumber); 
     481        if(it2 == seqport2bridgemap.end()) { 
    482482            seqport2bridgemap[portNumber] = bridge; 
    483483        } else { 
    484484            debugError("BUG: port already present in bridge map, duplicate port.\n"); 
  • libffado-2.1.0/tests/test-shm.cpp

    old new  
    2929#include <stdlib.h> 
    3030#include <iostream> 
    3131#include <signal.h> 
     32#include <unistd.h> 
    3233 
    3334using namespace Util; 
    3435 
  • libffado-2.1.0/tests/test-streamdump.cpp

    old new  
    2727 
    2828#include <argp.h> 
    2929#include <stdlib.h> 
     30#include <unistd.h> 
    3031#include <iostream> 
    3132 
    3233using namespace std;