Skip to content

Commit

Permalink
Merge pull request #6 from doughdemon/master
Browse files Browse the repository at this point in the history
Portability fixes for musl libc
  • Loading branch information
garlick committed Jul 14, 2014
2 parents ef75ef6 + 5f5890d commit 9533d7b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions diod/ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion libdiod/diod_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions libnpfs/ctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions libnpfs/npfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions utils/diodmount.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <paths.h>


#ifndef PATH_MAX
Expand Down
1 change: 1 addition & 0 deletions utils/dtop.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include <pthread.h>
#include <inttypes.h>
#include <dirent.h>
#include <limits.h>

#include "9p.h"
#include "npfs.h"
Expand Down

0 comments on commit 9533d7b

Please sign in to comment.