#include "darkstat.h"
#include "cap.h"
+#include "config.h"
#include "conv.h"
#include "decode.h"
#include "hosts_db.h"
*/
#include "darkstat.h"
+#include "config.h"
#include "conv.h"
#include <sys/wait.h>
*/
#include <sys/types.h>
+#include "config.h"
void *xmalloc(const size_t size);
void *xcalloc(const size_t num, const size_t size);
#include "darkstat.h"
#include "acct.h"
#include "cap.h"
+#include "config.h"
#include "conv.h"
#include "daylog.h"
#include "db.h"
* darkstat.h: general macros
*/
-/*
- * We only care about the following from config.h:
- * - PACKAGE_NAME
- * - PACKAGE_VERSION
- * - PACKAGE_STRING
- */
-#include "config.h"
-
#ifdef __GNUC__
# define _unused_ __attribute__((__unused__))
# define _noreturn_ __attribute__((__noreturn__))
#include "darkstat.h"
#include "acct.h"
#include "cap.h"
+#include "config.h"
#include "decode.h"
#include "err.h"
#include "opt.h"
#include "darkstat.h"
#include "conv.h"
+#include "config.h"
#include "decode.h"
#include "dns.h"
#include "err.h"
*/
#include "darkstat.h"
+#include "config.h"
#include "str.h"
#include "html.h"
#include "http.h" /* for http_base_url */
#ifndef __DARKSTAT_HTML_H
#define __DARKSTAT_HTML_H
-#include "config.h" /* for PACKAGE_STRING */
-
void html_open(struct str *buf, const char *title,
const int want_graph_js);
void html_close(struct str *buf);
#include "darkstat.h"
#include "http.h"
+#include "config.h"
#include "conv.h"
#include "hosts_db.h"
#include "graph_db.h"