]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
If gethostname is declared, then it must be in unistd.h
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 17 May 2001 14:16:04 +0000 (14:16 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 17 May 2001 14:16:04 +0000 (14:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@4652 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/job_identifier.cc

index 8f1634bde3d3819487474cc27aab1e618107da4c..447bb0cb9c60af91c32dbc6ead5e19f8c2e303ff 100644 (file)
@@ -15,7 +15,7 @@
 #include <base/job_identifier.h>
 #include <ctime>
 
-#if HAVE_UNISTD_H
+#if HAVE_GET_HOSTNAME
 # include <unistd.h>
 #endif
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.