Giter VIP home page Giter VIP logo

kamid's People

Contributors

omar-polo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kamid's Issues

Do you consider Darwin version ?

When I compiled I get:

script.c:24:10: fatal error: 'endian.h' file not found
#include <endian.h>
         ^~~~~~~~~~
clang -DHAVE_CONFIG_H -I. -I..  -DKAMID_VERSION='"0.2"' -I../ -I../compat -I../lib    -MT kamiftp-ftp.o -MD -MP -MF .deps/kamiftp-ftp.Tpo -c -o kamiftp-ftp.o `test -f 'ftp.c' || echo './'`ftp.c
ftp.c:251:8: warning: implicit declaration of function 'le32toh' is invalid in C99 [-Wimplicit-function-declaration]
        len = le32toh(len);
              ^
ftp.c:275:9: warning: implicit declaration of function 'le64toh' is invalid in C99 [-Wimplicit-function-declaration]
        return le64toh(n);
               ^
ftp.c:284:9: warning: implicit declaration of function 'le32toh' is invalid in C99 [-Wimplicit-function-declaration]
        return le32toh(n);
               ^
ftp.c:293:9: warning: implicit declaration of function 'le16toh' is invalid in C99 [-Wimplicit-function-declaration]
        return le16toh(n);
               ^
ftp.c:904:50: error: use of undeclared identifier 'SOCK_CLOEXEC'
                sock = socket(res->ai_family, res->ai_socktype|SOCK_CLOEXEC,
In file included from table_static.c:25:
./kamid.h:112:14: error: use of undeclared identifier 'LOGIN_NAME_MAX'
        char            uname[LOGIN_NAME_MAX];
                              ^
1 error generated.

I ask because the description say UNIX-like. I tried to look at LOGIN_NAME_MAX and it seem to exist on Darwin:

$ getconf LOGIN_NAME_MAX
255

for endian.h I consider https://github.com/kristapsdz/oconfigure#endianh

Would you merge a PR that add Darwin support ?

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.