src/simulator/simulator.cc
changeset 4091 8e5d0354c509
parent 4054 d1df606b20f8
child 4095 4b919c166ec3
--- a/src/simulator/simulator.cc	Wed Jan 14 15:35:42 2009 +0000
+++ b/src/simulator/simulator.cc	Wed Jan 14 15:36:19 2009 +0000
@@ -17,11 +17,13 @@
  *
  * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
  */
-
+#include "ns3/core-config.h"
 #include "simulator.h"
 #include "simulator-impl.h"
 #include "default-simulator-impl.h"
-#include "realtime-simulator-impl.h"
+#ifdef HAVE_PTHREAD_H
+# include "realtime-simulator-impl.h"
+#endif
 #include "scheduler.h"
 #include "event-impl.h"