2004-08-30 00:39:40 +00:00
|
|
|
// -*- C++ -*-
|
2004-08-15 21:45:30 +00:00
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#include <fcntl.h>
|
2005-04-26 10:30:24 +00:00
|
|
|
#ifdef HAVE_SYS_STAT_H
|
|
|
|
# include <sys/stat.h>
|
|
|
|
#endif
|
|
|
|
#ifdef HAVE_SYS_TYPES_H
|
|
|
|
# include <sys/types.h>
|
|
|
|
#endif
|
2004-08-15 21:45:30 +00:00
|
|
|
#include <time.h>
|
2005-04-26 10:30:24 +00:00
|
|
|
#ifdef HAVE_SYS_SOCKET_H
|
2005-04-19 12:12:47 +00:00
|
|
|
# include <sys/socket.h>
|
2005-04-26 10:30:24 +00:00
|
|
|
#endif
|
|
|
|
#ifndef _WIN32
|
2005-04-19 12:12:47 +00:00
|
|
|
# include <sys/un.h>
|
|
|
|
# include <sys/wait.h>
|
2005-04-26 10:30:24 +00:00
|
|
|
# ifdef HAVE_UNISTD_H
|
|
|
|
# include <unistd.h>
|
|
|
|
# endif
|
2005-01-20 15:38:14 +00:00
|
|
|
#endif
|
2004-08-15 21:45:30 +00:00
|
|
|
|
|
|
|
#include <algorithm>
|
|
|
|
#include <cctype>
|
|
|
|
#include <cerrno>
|
|
|
|
#include <csignal>
|
|
|
|
#include <cstddef>
|
|
|
|
#include <cstdio>
|
|
|
|
#include <cstdlib>
|
|
|
|
#include <ctime>
|
|
|
|
#include <deque>
|
|
|
|
#include <fstream>
|
|
|
|
#include <functional>
|
|
|
|
#include <iostream>
|
|
|
|
#include <istream>
|
|
|
|
#include <iterator>
|
|
|
|
#include <list>
|
|
|
|
#include <map>
|
|
|
|
#include <ostream>
|
|
|
|
#include <queue>
|
|
|
|
#include <sstream>
|
|
|
|
#include <string>
|
|
|
|
#include <utility>
|
|
|
|
#include <vector>
|