Changeset 1440

Show
Ignore:
Timestamp:
10/24/09 12:40:48 (5 months ago)
Author:
ahu
Message:

compilation fixes for on 'Karmic Koala' - also first commit from the new server @ xs4all!

Location:
trunk/pdns/pdns
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/base64.cc

    r1427 r1440  
    11#include "base64.hh" 
    2  
     2#include <inttypes.h> 
    33 
    44namespace anonpdns { 
  • trunk/pdns/pdns/htimer.hh

    r1071 r1440  
    11#ifndef PDNS_HTIMER_HH 
    22#define PDNS_HTIMER_HH 
    3  
     3#include <stdint.h> 
    44#include <boost/shared_ptr.hpp> 
    55#include <boost/utility.hpp> 
  • trunk/pdns/pdns/lock.hh

    r1439 r1440  
    7979  TryWriteLock(pthread_rwlock_t *lock) : d_lock(lock) 
    8080  { 
    81     if(g_singleThreaded) 
     81    if(g_singleThreaded) { 
     82      d_havelock=true; 
    8283      return; 
     84    } 
    8385 
    8486    d_havelock=false; 
     
    112114  TryReadLock(pthread_rwlock_t *lock) : d_lock(lock) 
    113115  { 
    114     if(g_singleThreaded) 
     116    if(g_singleThreaded) { 
     117      d_havelock=true; 
    115118      return; 
     119    } 
    116120 
    117     d_havelock=false; 
    118121    if((errno=pthread_rwlock_tryrdlock(d_lock)) && errno!=EBUSY) 
    119122      throw AhuException("error acquiring rwlock tryrdlock: "+stringerror()); 
  • trunk/pdns/pdns/rcpgenerator.hh

    r1427 r1440  
    11/* 
    22    PowerDNS Versatile Database Driven Nameserver 
    3     Copyright (C) 2005 PowerDNS.COM BV 
     3    Copyright (C) 2005 - 2009 PowerDNS.COM BV 
    44 
    55    This program is free software; you can redistribute it and/or modify 
     
    2020#ifndef PDNS_RCPGENERATOR_HH 
    2121#define PDNS_RCPGENERATOR_HH 
    22  
     22#include <inttypes.h> 
    2323#include <string> 
    2424#include <stdexcept> 
  • trunk/pdns/pdns/rec_channel.hh

    r1427 r1440  
    33#include <string> 
    44#include <map> 
     5#include <inttypes.h> 
    56#if !defined SOLARIS8 && !defined WIN32 
    67