From 3f845edfdd8c7365df9fc78483c61204df79b2f1 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Fri, 28 Feb 2014 16:56:38 +0000 Subject: [PATCH] * Prefix the preprocessor macro used to protect the file * Include opal_stdint.h so that we have uin32_t cmr=v1.7.5:ticket=trac:4298 This commit was SVN r30890. The following Trac tickets were found above: Ticket 4298 --> https://svn.open-mpi.org/trac/ompi/ticket/4298 --- opal/util/alfg.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/opal/util/alfg.h b/opal/util/alfg.h index ddcb8ed46f..9861481038 100644 --- a/opal/util/alfg.h +++ b/opal/util/alfg.h @@ -1,6 +1,7 @@ /* * Copyright (c) 2014 Mellanox Technologies, Inc. * All rights reserved. + * Copyright (c) 2014 Cisco Systems, Inc. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -8,12 +9,14 @@ * $HEADER$ */ -#ifndef ALFG_H -#define ALFG_H - +#ifndef OPAL_ALFG_H +#define OPAL_ALFG_H #include "opal_config.h" +#include "opal_stdint.h" + + struct opal_rng_buff_t { uint32_t alfg[127]; int tap1; @@ -26,4 +29,4 @@ int opal_srand(opal_rng_buff_t *buff, uint32_t seed); uint32_t opal_rand(opal_rng_buff_t *buff); -#endif /* ALFG_H */ +#endif /* OPAL_ALFG_H */