*/
/*
- Copyright (C) 2000-2004 Kern Sibbald and John Walker
+ Copyright (C) 2000-2005 Kern Sibbald
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
#include <stdlib.h>
#endif
#if HAVE_UNISTD_H
+# ifdef HAVE_HPUX_OS
+# undef _INCLUDE_POSIX1C_SOURCE
+# endif
#include <unistd.h>
#endif
#if HAVE_ALLOCA_H
#else
#include "lib/getopt.h"
#endif
-#endif
+#endif
#include <string.h>
#include <strings.h>
#include <arpa/inet.h>
#include <pthread.h>
+#ifdef HAVE_OPENSSL
+#include <openssl/ssl.h>
+#include <openssl/x509v3.h>
+#include <openssl/rand.h>
+#include <openssl/err.h>
+#endif
+
/* Local Bacula includes. Be sure to put all the system
- * includes before these.
+ * includes before these.
*/
#include "version.h"
#include "bc_types.h"