// uuid.cpp - UUID subroutines header.
//
-// (c) 2012-2015 Xestia Software Development.
+// (c) 2012-2017 Xestia Software Development.
//
// This file is part of Xestia Calendar.
//
// You should have received a copy of the GNU General Public License along
// with Calendar. If not, see <http://www.gnu.org/licenses/>
-#include <string>
+#ifndef COMMON_UUID_H
+#define COMMON_UUID_H
using namespace std;
-#ifndef COMMON_UUID_H
-#define COMMON_UUID_H
+#include <string>
+
+#if defined(WIN32)
+#include <rpc.h>
+#endif
string GenerateUUID();
-#endif
\ No newline at end of file
+#endif