Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Clone in Desktop Download ZIP

Loading…

Portability fixes for musl libc #6

Merged
merged 2 commits into from

2 participants

@doughdemon

No description provided.

doughdemon added some commits
@doughdemon doughdemon Add missing includes
Fixes compilation with musl libc
a84a16c
@doughdemon doughdemon libdiod/dios_sock.c: sys/signal.h -> signal.h
This is the POSIX standard location
5f5890d
@garlick garlick merged commit 9533d7b into chaos:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 12, 2014
  1. @doughdemon

    Add missing includes

    doughdemon authored
    Fixes compilation with musl libc
  2. @doughdemon

    libdiod/dios_sock.c: sys/signal.h -> signal.h

    doughdemon authored
    This is the POSIX standard location
This page is out of date. Refresh to see the latest.
View
1  diod/ops.c
@@ -63,6 +63,7 @@
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
+#include <limits.h>
#include <stdint.h>
#include <pthread.h>
#include <errno.h>
View
2  libdiod/diod_sock.c
@@ -37,7 +37,7 @@
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <netdb.h>
-#include <sys/signal.h>
+#include <signal.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <string.h>
View
2  libnpfs/ctl.c
@@ -37,6 +37,8 @@
#include <sys/time.h>
#include <unistd.h>
#include <dirent.h>
+#include <limits.h>
+#include <sys/stat.h>
#include "9p.h"
#include "npfs.h"
View
2  libnpfs/npfs.h
@@ -21,6 +21,8 @@
* DEALINGS IN THE SOFTWARE.
*/
+#include <sys/types.h>
+
typedef struct p9_str Npstr;
typedef struct p9_qid Npqid;
typedef struct Npfile Npfile;
View
1  utils/diodmount.c
@@ -53,6 +53,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <paths.h>
#ifndef PATH_MAX
View
1  utils/dtop.c
@@ -48,6 +48,7 @@
#include <pthread.h>
#include <inttypes.h>
#include <dirent.h>
+#include <limits.h>
#include "9p.h"
#include "npfs.h"
Something went wrong with that request. Please try again.