1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-06 00:14:43 +00:00

Maiko code changes needed to compile on Alpine Linux with clang. (#456)

* Changes needed to compile maiko on Alpine Linux with clang.  Switching to Alpine on github actions to streamline maiko release builds

* Changes needed to compile maiko on Alpine Linux with clang.

Switching to Alpine on github actions to streamline maiko release builds.

  * ether_nethub.c missing a couple of includes, and incorrectly including
    <sys/poll.h> instead of plain <poll.h>
  * <dirent.h> does not define MAXNAMLEN on Alpine Linux, but "locfile.h"
    compensates for this already, if it is modified to include <limits.h>,
    so use this in "dirdefs.h".

---------

Co-authored-by: Nick Briggs <nicholas.h.briggs@gmail.com>
This commit is contained in:
Frank Halasz
2023-03-07 12:12:55 -08:00
committed by GitHub
parent a8ded8a5f6
commit 00d306d72f
3 changed files with 6 additions and 2 deletions

View File

@@ -14,8 +14,10 @@
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/select.h>
#include <sys/types.h>
#include <arpa/inet.h>
#include <sys/poll.h>
#include <poll.h>
#include <signal.h>
#include <fcntl.h>
#include <errno.h>