~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/oldlibdrizzle/drizzle.cc

  • Committer: rm
  • Date: 2009-07-26 03:10:33 UTC
  • mto: (1099.1.2 pandora-build)
  • mto: This revision was merged to the branch mainline in revision 1101.
  • Revision ID: rm@ralph.local-20090726031033-ajeunv3e198izefa
get things compiling on FreeBSD (7.1)
  - add PTHREAD_LIBS to the necessary execs
  - quell warning about NULL format string in die
  - check for log and log2 funcs, work-around for missing log2
  - add -D option to gperf to avoid warnings/errors about hash collisions
  - remove const from getopt wrappers to avoid errors about discarded qualifiers
  - fix bug in acx_pthread.m4, add pthread ld flags to PTHREAD_LIBS, not
    PTHREAD_CFLAGS
  - wrap #include <alloca.h> in HAVE_ALLOCA_H
  - add lots of UNIV_INTERN attributes to handler func decls
  - include missing header files (net-realted) in a couple places

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
#include <sys/socket.h>
42
42
#include <signal.h>
43
43
#include <errno.h>
 
44
#include <arpa/inet.h>
 
45
#include <netinet/in.h>
44
46
 
45
47
 
46
48
#define CONNECT_TIMEOUT 0