moonbridge

changeset 136:ae23bcae95d1

Restored Linux compatibility regarding #include section
author jbe
date Thu Apr 16 22:12:34 2015 +0200 (2015-04-16)
parents 795bc86be569
children 46ebdc5bf825
files moonbridge.c moonbridge_io.c
line diff
     1.1 --- a/moonbridge.c	Thu Apr 16 22:06:55 2015 +0200
     1.2 +++ b/moonbridge.c	Thu Apr 16 22:12:34 2015 +0200
     1.3 @@ -23,14 +23,13 @@
     1.4  #include <stdlib.h>
     1.5  #include <stdint.h>
     1.6  #include <string.h>
     1.7 -//#include <stdio.h>
     1.8  #include <errno.h>
     1.9  #include <unistd.h>
    1.10  #include <signal.h>
    1.11  #include <sys/wait.h>
    1.12  #include <sys/resource.h>
    1.13  #include <poll.h>
    1.14 -//#include <time.h>
    1.15 +#include <time.h>
    1.16  #include <sys/time.h>
    1.17  #include <sys/socket.h>
    1.18  #include <sys/un.h>
     2.1 --- a/moonbridge_io.c	Thu Apr 16 22:06:55 2015 +0200
     2.2 +++ b/moonbridge_io.c	Thu Apr 16 22:12:34 2015 +0200
     2.3 @@ -2,7 +2,6 @@
     2.4  #include <stdlib.h>
     2.5  #include <stdint.h>
     2.6  #include <string.h>
     2.7 -//#include <stdio.h>
     2.8  #include <errno.h>
     2.9  #include <unistd.h>
    2.10  #include <signal.h>
    2.11 @@ -13,10 +12,9 @@
    2.12  #include <netinet/in.h>
    2.13  #include <netinet/tcp.h>
    2.14  #include <sys/select.h>
    2.15 -//#include <sys/types.h>
    2.16 +#include <time.h>
    2.17  #include <netdb.h>
    2.18  #include <arpa/inet.h>
    2.19 -//#include <time.h>
    2.20  
    2.21  #include <lua.h>
    2.22  #include <lauxlib.h>

Impressum / About Us