Skip to content

Commit

Permalink
Include generated headers with #include <>
Browse files Browse the repository at this point in the history
http://www.gnu.org/software/autoconf/manual/html_node/Configuration-Headers.html
“With the appropriate -I option, you can use ‘#include <config.h>’.
Actually, it's a good habit to use it, because in the rare case when
the source directory contains another config.h, the build directory
should be searched first.”

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
  • Loading branch information
andersk committed Apr 4, 2013
1 parent cb1243b commit 6249a88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion compat/compat.h
@@ -1,7 +1,7 @@
#ifndef INC_BARNOWL_COMPAT_COMPAT_H
#define INC_BARNOWL_COMPAT_COMPAT_H

#include "../config.h"
#include <config.h>

#include <stddef.h>

Expand Down
4 changes: 2 additions & 2 deletions owl.h
Expand Up @@ -9,7 +9,7 @@
#ifndef INC_BARNOWL_OWL_H
#define INC_BARNOWL_OWL_H

#include "config.h"
#include <config.h>

#include "compat/compat.h"

Expand Down Expand Up @@ -607,7 +607,7 @@ typedef struct _owl_global {
/* globals */
extern owl_global g;

#include "owl_prototypes.h"
#include <owl_prototypes.h>

/* These were missing from the Zephyr includes before Zephyr 3. */
#if defined HAVE_LIBZEPHYR && defined ZCONST
Expand Down
2 changes: 1 addition & 1 deletion zcrypt.c
Expand Up @@ -16,7 +16,7 @@
#include <sys/wait.h>
#include <ctype.h>

#include "config.h"
#include <config.h>

#ifdef HAVE_KERBEROS_IV
#include <kerberosIV/des.h>
Expand Down

0 comments on commit 6249a88

Please sign in to comment.