Changeset 35568


Ignore:
Timestamp:
2021-10-13T12:10:28+13:00 (3 years ago)
Author:
davidb
Message:

Testing on a newer gcc, the linux wrapper.cpp failed to compile as there were no externs for chdir() and getcwd(). Fixed by adding in the relevant #include (unistd.h)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/shared/linux/wrapper.cpp

    r28713 r35568  
    66#include <sstream>
    77using namespace std;
    8  
     8
     9// The following provides the externs for chdir() and getcwd()
     10#include <unistd.h>
     11//extern int chdir(const char *path);
     12//extern char *getcwd(char *buf, size_t size);
     13
    914#ifndef CDROM
    1015#include "wrapper.h"
Note: See TracChangeset for help on using the changeset viewer.