GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 2, or (at your
+ by the Free Software Foundation; either version 3, or (at your
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
#include <sys/types.h>
#endif
-#define ALLOW_EXTRA_CHECKS GNUNET_NO
+/**
+ * These may be expensive, but good for debugging...
+ */
+#define ALLOW_EXTRA_CHECKS GNUNET_YES
/**
* For strptime (glibc2 needs this).
*/
#ifndef _XOPEN_SOURCE
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 499
#endif
#ifndef _REENTRANT
#if HAVE_UCRED_H
#include <ucred.h>
#endif
+#if HAVE_SYS_UCRED_H
+#include <sys/ucred.h>
+#endif
#ifdef CYGWIN
#include <windows.h>
#include <cygwin/if.h>
#define SOCKTYPE int
#endif
+/**
+ * The termination signal
+ */
+#define GNUNET_TERM_SIG SIGTERM
+
#endif