* src/misc/hashfunc.hh: Include cstddef to define size_t, and guard

the file for multiple inclusions.
This commit is contained in:
Alexandre Duret-Lutz 2004-11-17 00:56:26 +00:00
parent 2cd298e4b0
commit 8c6dff00b6
2 changed files with 9 additions and 0 deletions

View file

@ -19,6 +19,10 @@
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
#ifndef SPOT_MISC_HASHFUNC_HH
# define SPOT_MISC_HASHFUNC_HH
# include <cstddef>
namespace spot
{
/// \brief Thomas Wang's 32 bit hash function.
@ -38,3 +42,5 @@ namespace spot
return key;
}
}
#endif // SPOT_MISC_HASHFUNC_HH