OSDN Git Service

to finish compile, added include time.h and sys/time.h. master
authorace <ace@momiage.org>
Thu, 28 Apr 2016 06:24:15 +0000 (15:24 +0900)
committerace <ace@momiage.org>
Thu, 28 Apr 2016 06:24:15 +0000 (15:24 +0900)
linuxcw/almemsys/socket_read.c
linuxcw/almemsys/socket_reads.c

index 332052f..d8bdb76 100644 (file)
@@ -2,11 +2,12 @@
 // $Id: socket_read.c,v 1.1.1.1 2007/09/19 05:49:54 sendan Exp $
 // masashi shimakura
 
-#include<stdio.h>
-#include<fcntl.h>
+#include <stdio.h>
+#include <fcntl.h>
 #include <errno.h>
 #include <unistd.h>
-
+#include <time.h>
+#include <sys/time.h>
 
 int socket_read(int sk, char * readdata, int getlen, int interval){
 struct timeval tv;
index 6b4643a..f2f34fa 100644 (file)
@@ -2,11 +2,12 @@
 // $Id: socket_reads.c,v 1.1 2007/10/17 10:57:56 sendan Exp $
 // masashi shimakura
 
-#include<stdio.h>
-#include<fcntl.h>
+#include <stdio.h>
+#include <fcntl.h>
 #include <errno.h>
 #include <unistd.h>
-
+#include <time.h>
+#include <sys/time.h>
 
 int socket_reads(int sk, char * readdata, int getlen, int interval){
 struct timeval tv;