Commit 8dd1a461 authored by Ondřej Surý's avatar Ondřej Surý

Use libknot/libknot.h instead of libknot/errcode.h outside libknot library

parent 351405cf
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> // memset #include <string.h> // memset
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "dnstap/convert.h" #include "dnstap/convert.h"
#include "dnstap/message.h" #include "dnstap/message.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <stdlib.h> // calloc, free #include <stdlib.h> // calloc, free
#include <string.h> // strdup #include <string.h> // strdup
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/internal/macros.h" #include "libknot/internal/macros.h"
#include "dnstap/dnstap.h" #include "dnstap/dnstap.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <stdlib.h> // calloc, free #include <stdlib.h> // calloc, free
#include <string.h> // strdup #include <string.h> // strdup
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "dnstap/dnstap.h" #include "dnstap/dnstap.h"
#include "dnstap/writer.h" #include "dnstap/writer.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "knot/common/evsched.h" #include "knot/common/evsched.h"
/*! \brief Some implementations of timercmp >= are broken, this is for compat.*/ /*! \brief Some implementations of timercmp >= are broken, this is for compat.*/
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <unistd.h> #include <unistd.h>
#include <time.h> #include <time.h>
#include "knot/common/fdset.h" #include "knot/common/fdset.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
/* Workarounds for clock_gettime() not available on some platforms. */ /* Workarounds for clock_gettime() not available on some platforms. */
#ifdef HAVE_CLOCK_GETTIME #ifdef HAVE_CLOCK_GETTIME
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#endif #endif
#include "knot/common/log.h" #include "knot/common/log.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/internal/lists.h" #include "libknot/internal/lists.h"
#include "libknot/internal/macros.h" #include "libknot/internal/macros.h"
#include "libknot/internal/strlcpy.h" #include "libknot/internal/strlcpy.h"
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "libknot/internal/strlcpy.h" #include "libknot/internal/strlcpy.h"
#include "libknot/internal/mem.h" #include "libknot/internal/mem.h"
#include "libknot/internal/macros.h" #include "libknot/internal/macros.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "knot/conf/conf.h" #include "knot/conf/conf.h"
#include "knot/conf/extra.h" #include "knot/conf/extra.h"
#include "knot/ctl/remote.h" #include "knot/ctl/remote.h"
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <pwd.h> #include <pwd.h>
#include "libknot/internal/mem.h" #include "libknot/internal/mem.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "knot/ctl/process.h" #include "knot/ctl/process.h"
#include "knot/conf/conf.h" #include "knot/conf/conf.h"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <dnssec/kasp.h> #include <dnssec/kasp.h>
#include <dnssec/keystore.h> #include <dnssec/keystore.h>
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "knot/dnssec/context.h" #include "knot/dnssec/context.h"
/*! /*!
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "knot/dnssec/rrset-sign.h" #include "knot/dnssec/rrset-sign.h"
#include "libknot/descriptor.h" #include "libknot/descriptor.h"
#include "libknot/dnssec/key.h" #include "libknot/dnssec/key.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/packet/rrset-wire.h" #include "libknot/packet/rrset-wire.h"
#include "libknot/packet/wire.h" #include "libknot/packet/wire.h"
#include "libknot/rrset.h" #include "libknot/rrset.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "dnssec/event.h" #include "dnssec/event.h"
#include "libknot/internal/macros.h" #include "libknot/internal/macros.h"
#include "libknot/internal/mem.h" #include "libknot/internal/mem.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "knot/conf/conf.h" #include "knot/conf/conf.h"
#include "knot/dnssec/context.h" #include "knot/dnssec/context.h"
#include "knot/dnssec/policy.h" #include "knot/dnssec/policy.h"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "dnssec/keystore.h" #include "dnssec/keystore.h"
#include "knot/common/log.h" #include "knot/common/log.h"
#include "knot/dnssec/zone-keys.h" #include "knot/dnssec/zone-keys.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/rrtype/dnskey.h" #include "libknot/rrtype/dnskey.h"
/*! /*!
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include "knot/updates/changesets.h" #include "knot/updates/changesets.h"
#include "libknot/descriptor.h" #include "libknot/descriptor.h"
#include "libknot/dname.h" #include "libknot/dname.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/internal/macros.h" #include "libknot/internal/macros.h"
#include "libknot/rrset.h" #include "libknot/rrset.h"
#include "libknot/rrtype/rrsig.h" #include "libknot/rrtype/rrsig.h"
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#endif #endif
#include "dnssec/crypto.h" #include "dnssec/crypto.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "knot/ctl/process.h" #include "knot/ctl/process.h"
#include "knot/ctl/remote.h" #include "knot/ctl/remote.h"
#include "knot/conf/conf.h" #include "knot/conf/conf.h"
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "dnstap/writer.h" #include "dnstap/writer.h"
#include "dnstap/message.h" #include "dnstap/message.h"
#include "dnstap/dnstap.h" #include "dnstap/dnstap.h"
#include "libknot/libknot.h"
#include "libknot/descriptor.h" #include "libknot/descriptor.h"
/* Defines. */ /* Defines. */
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include "knot/modules/rosedb.c" #include "knot/modules/rosedb.c"
#include "zscanner/scanner.h" #include "zscanner/scanner.h"
#include "libknot/libknot.h"
#include "libknot/internal/mem.h" #include "libknot/internal/mem.h"
#include "libknot/internal/getline.h" #include "libknot/internal/getline.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "knot/updates/apply.h" #include "knot/updates/apply.h"
#include "knot/zone/zonefile.h" #include "knot/zone/zonefile.h"
#include "knot/common/debug.h" #include "knot/common/debug.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/descriptor.h" #include "libknot/descriptor.h"
#include "libknot/internal/lists.h" #include "libknot/internal/lists.h"
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
*/ */
#include "knot/common/debug.h" #include "knot/common/debug.h"
#include "libknot/libknot.h"
#include "libknot/descriptor.h" #include "libknot/descriptor.h"
#include "libknot/rrtype/rdname.h" #include "libknot/rrtype/rdname.h"
#include "libknot/rrtype/soa.h" #include "libknot/rrtype/soa.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "knot/updates/apply.h" #include "knot/updates/apply.h"
#include "knot/common/debug.h" #include "knot/common/debug.h"
#include "knot/zone/serial.h" #include "knot/zone/serial.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/descriptor.h" #include "libknot/descriptor.h"
#include "libknot/internal/utils.h" #include "libknot/internal/utils.h"
#include "libknot/rrtype/soa.h" #include "libknot/rrtype/soa.h"
......
/* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program 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 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "libknot/libknot.h"
#include "knot/nameserver/nsec_proofs.h" #include "knot/nameserver/nsec_proofs.h"
#include "knot/nameserver/process_query.h" #include "knot/nameserver/process_query.h"
#include "knot/nameserver/internet.h" #include "knot/nameserver/internet.h"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "knot/nameserver/process_answer.h" #include "knot/nameserver/process_answer.h"
#include "knot/nameserver/internet.h" #include "knot/nameserver/internet.h"
#include "knot/nameserver/notify.h" #include "knot/nameserver/notify.h"
......
#include "knot/nameserver/query_module.h" #include "knot/nameserver/query_module.h"
#include "libknot/internal/mempattern.h" #include "libknot/internal/mempattern.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/internal/strlcpy.h" #include "libknot/internal/strlcpy.h"
/* Compiled-in module headers. */ /* Compiled-in module headers. */
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/rrtype/tsig.h" #include "libknot/rrtype/tsig.h"
#include "libknot/tsig-op.h" #include "libknot/tsig-op.h"
#include "knot/nameserver/tsig_ctx.h" #include "knot/nameserver/tsig_ctx.h"
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "knot/dnssec/zone-events.h" #include "knot/dnssec/zone-events.h"
#include "knot/updates/ddns.h" #include "knot/updates/ddns.h"
#include "knot/updates/zone-update.h" #include "knot/updates/zone-update.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/descriptor.h" #include "libknot/descriptor.h"
#include "libknot/tsig-op.h" #include "libknot/tsig-op.h"
#include "knot/zone/zone.h" #include "knot/zone/zone.h"
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include "knot/common/debug.h" #include "knot/common/debug.h"
#include "knot/server/journal.h" #include "knot/server/journal.h"
#include "knot/server/serialization.h" #include "knot/server/serialization.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/rrtype/soa.h" #include "libknot/rrtype/soa.h"
/*! \brief Infinite file size limit. */ /*! \brief Infinite file size limit. */
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <assert.h> #include <assert.h>
#include "knot/server/serialization.h" #include "knot/server/serialization.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
static size_t rr_binary_size(const knot_rrset_t *rrset, size_t rdata_pos) static size_t rr_binary_size(const knot_rrset_t *rrset, size_t rdata_pos)
{ {
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <assert.h> #include <assert.h>
#include "dnssec/random.h" #include "dnssec/random.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "knot/common/debug.h" #include "knot/common/debug.h"
#include "knot/common/trim.h" #include "knot/common/trim.h"
#include "knot/server/server.h" #include "knot/server/server.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <limits.h> #include <limits.h>
#include <stdbool.h> #include <stdbool.h>
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "knot/updates/acl.h" #include "knot/updates/acl.h"
#include "knot/conf/conf.h" #include "knot/conf/conf.h"
#include "libknot/internal/endian.h" #include "libknot/internal/endian.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "knot/server/dthreads.h" #include "knot/server/dthreads.h"
#include "knot/worker/pool.h" #include "knot/worker/pool.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "knot/zone/contents.h" #include "knot/zone/contents.h"
#include "knot/common/debug.h" #include "knot/common/debug.h"
#include "libknot/internal/macros.h" #include "libknot/internal/macros.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/rrset.h" #include "libknot/rrset.h"
#include "libknot/internal/base32hex.h" #include "libknot/internal/base32hex.h"
#include "libknot/descriptor.h" #include "libknot/descriptor.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <time.h> #include <time.h>
#include "knot/common/evsched.h" #include "knot/common/evsched.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/internal/namedb/namedb.h" #include "libknot/internal/namedb/namedb.h"
#include "knot/server/server.h" #include "knot/server/server.h"
#include "knot/worker/pool.h" #include "knot/worker/pool.h"
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
*/ */
#include "dnssec/random.h" #include "dnssec/random.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/processing/requestor.h" #include "libknot/processing/requestor.h"
#include "libknot/rrtype/soa.h" #include "libknot/rrtype/soa.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <stdio.h> #include <stdio.h>
#include "knot/zone/node.h" #include "knot/zone/node.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/rrset.h" #include "libknot/rrset.h"
#include "libknot/rdataset.h" #include "libknot/rdataset.h"
#include "libknot/rrtype/rrsig.h" #include "libknot/rrtype/rrsig.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <inttypes.h> #include <inttypes.h>
#include "knot/common/debug.h" #include "knot/common/debug.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "knot/zone/zone-diff.h" #include "knot/zone/zone-diff.h"
#include "knot/zone/serial.h" #include "knot/zone/serial.h"
#include "libknot/descriptor.h" #include "libknot/descriptor.h"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "knot/common/log.h" #include "knot/common/log.h"
#include "knot/server/journal.h" #include "knot/server/journal.h"
#include "knot/zone/zone-diff.h" #include "knot/zone/zone-diff.h"
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include "knot/updates/apply.h" #include "knot/updates/apply.h"
#include "libknot/processing/requestor.h" #include "libknot/processing/requestor.h"
#include "knot/nameserver/process_query.h" #include "knot/nameserver/process_query.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/dname.h" #include "libknot/dname.h"
#include "libknot/internal/utils.h" #include "libknot/internal/utils.h"
#include "libknot/rrtype/soa.h" #include "libknot/rrtype/soa.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <assert.h> #include <assert.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "knot/zone/zonedb-load.h" #include "knot/zone/zonedb-load.h"
#include "knot/zone/zone-load.h" #include "knot/zone/zone-load.h"
#include "knot/conf/conf.h" #include "knot/conf/conf.h"
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <unistd.h> #include <unistd.h>
#include <inttypes.h> #include <inttypes.h>
#include "libknot/libknot.h"
#include "libknot/internal/strlcat.h" #include "libknot/internal/strlcat.h"
#include "libknot/internal/strlcpy.h" #include "libknot/internal/strlcpy.h"
#include "libknot/internal/macros.h" #include "libknot/internal/macros.h"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "libknot/internal/macros.h" #include "libknot/internal/macros.h"
#include "libknot/yparser/yparser.h" #include "libknot/yparser/yparser.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
extern int _yp_start_state; extern int _yp_start_state;
extern int _yp_parse(yp_parser_t *parser); extern int _yp_parse(yp_parser_t *parser);
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <string.h> #include <string.h>
#include "libknot/yparser/yparser.h" #include "libknot/yparser/yparser.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <string.h> #include <string.h>
#include "libknot/internal/yparser/yparser.h" #include "libknot/internal/yparser/yparser.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
%%{ %%{
machine yparser; machine yparser;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
*/ */
#include "libknot/yparser/yptrafo.h" #include "libknot/yparser/yptrafo.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
static int format_item( static int format_item(
const yp_item_t *item, const yp_item_t *item,
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "libknot/internal/macros.h" #include "libknot/internal/macros.h"
#include "libknot/yparser/ypscheme.h" #include "libknot/yparser/ypscheme.h"
#include "libknot/yparser/yptrafo.h" #include "libknot/yparser/yptrafo.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
/*! Initializes the referenced item. */ /*! Initializes the referenced item. */
static int set_ref_item( static int set_ref_item(
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "libknot/yparser/yptrafo.h" #include "libknot/yparser/yptrafo.h"
#include "libknot/internal/base64.h" #include "libknot/internal/base64.h"
#include "libknot/internal/sockaddr.h" #include "libknot/internal/sockaddr.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#define TXT_BIN_PARAMS char const *txt, size_t txt_len, uint8_t *bin, size_t *bin_len #define TXT_BIN_PARAMS char const *txt, size_t txt_len, uint8_t *bin, size_t *bin_len
#define BIN_TXT_PARAMS uint8_t const *bin, size_t bin_len, char *txt, size_t *txt_len #define BIN_TXT_PARAMS uint8_t const *bin, size_t bin_len, char *txt, size_t *txt_len
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "dnssec/crypto.h" #include "dnssec/crypto.h"
#include "utils/kdig/kdig_params.h" #include "utils/kdig/kdig_params.h"
#include "utils/kdig/kdig_exec.h" #include "utils/kdig/kdig_exec.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "utils/common/params.h" #include "utils/common/params.h"
#include "utils/common/resolv.h" #include "utils/common/resolv.h"
#include "libknot/descriptor.h" #include "libknot/descriptor.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/internal/lists.h" #include "libknot/internal/lists.h"
#include "libknot/internal/sockaddr.h" #include "libknot/internal/sockaddr.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <tap/basic.h> #include <tap/basic.h>
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/internal/sockaddr.h" #include "libknot/internal/sockaddr.h"
#include "knot/updates/acl.h" #include "knot/updates/acl.h"
#include "knot/conf/conf.h" #include "knot/conf/conf.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <string.h> #include <string.h>
#include <tap/basic.h> #include <tap/basic.h>
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/internal/base32hex.h" #include "libknot/internal/base32hex.h"
#include "libknot/internal/strlcpy.h" #include "libknot/internal/strlcpy.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <string.h> #include <string.h>
#include <tap/basic.h> #include <tap/basic.h>
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/internal/base64.h" #include "libknot/internal/base64.h"
#include "libknot/internal/strlcpy.h" #include "libknot/internal/strlcpy.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <tap/basic.h> #include <tap/basic.h>
#include <assert.h> #include <assert.h>
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "libknot/rrtype/opt.h" #include "libknot/rrtype/opt.h"
#include "libknot/descriptor.h" #include "libknot/descriptor.h"
#include "libknot/internal/sockaddr.h" #include "libknot/internal/sockaddr.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "libknot/internal/mempattern.h" #include "libknot/internal/mempattern.h"
#include "libknot/internal/mempool.h" #include "libknot/internal/mempool.h"
#include "libknot/internal/macros.h" #include "libknot/internal/macros.h"
#include "libknot/errcode.h" #include "libknot/libknot.h"
/* Test defines. */ /* Test defines. */
#define ELEM_COUNT 65535 #define ELEM_COUNT 65535
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <tap/basic.h> #include <tap/basic.h>
#include "libknot/errcode.h" #include "libknot/libknot.h"
#include "knot/server/journal.h" #include "knot/server/journal.h"
#include "knot/zone/zone-diff.h" #include "knot/zone/zone-diff.h"
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "libknot/internal/namedb/namedb_lmdb.h"