Git Product home page Git Product logo

Comments (5)

ColumPaget avatar ColumPaget commented on September 26, 2024

Hi barracuda,

This is an odd issue. 'wait.h' is a standard header that's part of libc, and should be in /usr/include. Could it be that you have to have to install libc-dev or something like that?

from fileferry.

barracuda156 avatar barracuda156 commented on September 26, 2024

It should be sys/wait.h: fekberg/GoHttp#6
(I can confirm it is there on my macOS too.)

from fileferry.

ColumPaget avatar ColumPaget commented on September 26, 2024

unfortunately on ubuntu I'm finding it's not in '/usr/include/sys', but in '/usr/include' instead. I guess I'll need do do something with autoconf to find it...

from fileferry.

barracuda156 avatar barracuda156 commented on September 26, 2024

It can be done via include macros too, something like:

#ifdef __APPLE__
#include <sys/wait.h>
#else
#include <wait.h>
#endif

from fileferry.

ColumPaget avatar ColumPaget commented on September 26, 2024

hmm, sys/wait.h compiles even though it's not in /usr/include/sys. It must be in one of the gcc include directories. This does mean I'll have to update everything that comes with a bundled libUseful!

thanks for reporting this. Does fileferry build if you make the change yourself?

from fileferry.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.