Просмотр исходного кода

Include 'unistd.h' in source files.

Steven Engler 8 лет назад
Родитель
Сommit
cde6e66784
6 измененных файлов с 6 добавлено и 0 удалено
  1. 1 0
      controller.cc
  2. 1 0
      controller_main.cc
  3. 1 0
      dlrho.cc
  4. 1 0
      dpstream.cu
  5. 1 0
      mpi.cc
  6. 1 0
      parrhoasm.cu

+ 1 - 0
controller.cc

@@ -13,6 +13,7 @@ extern "C" {
 #include <arpa/inet.h>
 
 #include <sys/time.h>
+#include <unistd.h>
 
 #include <fstream>
 #include <vector>

+ 1 - 0
controller_main.cc

@@ -4,6 +4,7 @@
 
 #include <string.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 #include "controller.h"
 

+ 1 - 0
dlrho.cc

@@ -18,6 +18,7 @@
  */
 
 #include <fstream>
+#include <unistd.h>
 #include <sys/time.h>
 #include <NTL/vec_ZZ.h>
 #include <NTL/ZZ_p.h>

+ 1 - 0
dpstream.cu

@@ -21,6 +21,7 @@
 #define __DPSTREAM_H__
 
 #include <sm_11_atomic_functions.h>
+#include <unistd.h>
 
 /* Routines to allow CUDA threads to write distinguished points into
    a buffer that will be read by the host */

+ 1 - 0
mpi.cc

@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <unistd.h>
 #include <sys/time.h>
 #include <sys/types.h>
 #include <sys/resource.h>

+ 1 - 0
parrhoasm.cu

@@ -24,6 +24,7 @@
 #include <limits.h>
 #include <sys/time.h>
 #include <time.h>
+#include <unistd.h>
 #include <string>
 #include <sstream>
 #include <utility>