X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e2d72ea4851a108ca87a7f3294431a9141317b25..666767f623cc55cc4524e84c4fe0f64b3dbd8bf9:/include/xbt/xbt_os_thread.h diff --git a/include/xbt/xbt_os_thread.h b/include/xbt/xbt_os_thread.h index ebf1b6fccd..3c336cba81 100644 --- a/include/xbt/xbt_os_thread.h +++ b/include/xbt/xbt_os_thread.h @@ -1,6 +1,6 @@ /* xbt/xbt_os_thread.h -- Thread portability layer */ -/* Copyright (c) 2007-2014. The SimGrid Team. +/* Copyright (c) 2007-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -25,12 +25,13 @@ SG_BEGIN_DECL() /** \brief Thread data type (opaque structure) */ typedef struct xbt_os_thread_ *xbt_os_thread_t; -#include #ifdef _XBT_WIN32 /* defined if this is a windows system, 32bits or 64bits) */ -#include +#include typedef DWORD xbt_os_thread_key_t; #else /* assume that every non-windows system is POSIX-compatible */ + +#include typedef pthread_key_t xbt_os_thread_key_t; #endif