Skip to content

add missing <climits> include - #46

Open
peppergrayxyz wants to merge 1 commit into
linuxdeploy:masterfrom
peppergrayxyz:climits
Open

peppergrayxyz wants to merge 1 commit into
linuxdeploy:masterfrom
peppergrayxyz:climits

Conversation

@peppergrayxyz

Copy link
Copy Markdown

building on gentoo/musl fails with error:

FAILED: [code=1] src/CMakeFiles/linuxdeploy-plugin-appimage.dir/main.cpp.o
/docker-ramdisk/linuxdeploy-build-S2cK5w/linuxdeploy-plugin-appimage/src/main.cpp: In function 'std::string findAppimagetool()':
/docker-ramdisk/linuxdeploy-build-S2cK5w/linuxdeploy-plugin-appimage/src/main.cpp:21:27: error: 'PATH_MAX' was not declared in this scope
   21 |     std::vector<char> buf(PATH_MAX, '\0');
      |                           ^~~~~~~~

building on gentoo/musl fails with error:
```
FAILED: [code=1] src/CMakeFiles/linuxdeploy-plugin-appimage.dir/main.cpp.o
/docker-ramdisk/linuxdeploy-build-S2cK5w/linuxdeploy-plugin-appimage/src/main.cpp: In function 'std::string findAppimagetool()':
/docker-ramdisk/linuxdeploy-build-S2cK5w/linuxdeploy-plugin-appimage/src/main.cpp:21:27: error: 'PATH_MAX' was not declared in this scope
   21 |     std::vector<char> buf(PATH_MAX, '\0');
      |                           ^~~~~~~~
```

Signed-off-by: Pepper Gray <hello@peppergray.xyz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant