X-Git-Url: https://git.syn-net.org/debian/?a=blobdiff_plain;f=src%2FthreadUtils.hpp;h=7e333022822c063e046abeb2e15c44b7f57f14bc;hb=7af29a758723cc25f12f46de0e54bae7ccd3be50;hp=85500c1d190ddea20cca559f65814399b9dfd97e;hpb=058ae090a970436caec3b3059e9e18b310dd6b0d;p=anytun.git diff --git a/src/threadUtils.hpp b/src/threadUtils.hpp index 85500c1..7e33302 100644 --- a/src/threadUtils.hpp +++ b/src/threadUtils.hpp @@ -11,14 +11,15 @@ * tunneling and relaying of packets of any protocol. * * - * Copyright (C) 2007-2008 Othmar Gsenger, Erwin Nindl, + * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, * Christian Pointner * * This file is part of Anytun. * * Anytun is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 3 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. * * Anytun is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -28,12 +29,16 @@ * You should have received a copy of the GNU General Public License * along with anytun. If not, see . */ +#ifndef ANYTUN_threadUtils_hpp_INCLUDED +#define ANYTUN_threadUtils_hpp_INCLUDED + #include #include #include +#include + #include "datatypes.h" -#ifndef __THREADUTILS__ -#define __THREADUTILS__ + typedef boost::mutex::scoped_lock Lock; typedef boost::mutex Mutex;