Do not include <config.h> from headers
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>
Thu, 2 Jul 2009 10:43:34 +0000 (13:43 +0300)
committerMarcel Holtmann <marcel.holtmann@intel.com>
Fri, 3 Jul 2009 14:54:25 +0000 (07:54 -0700)
It should be included _first_ in all modules, and it is not proof
against multiple inclusions.

drivers/atmodem/at.h
drivers/isimodem/isi.h

index 0300282..3cc3cb1 100644 (file)
  *
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 struct at_data {
        GAtChat *parser;
        struct ofono_modem *modem;
index b89a694..e808bfd 100644 (file)
  *
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #define DECLARE_FAILURE(e)                     \
        struct ofono_error e;                   \
        e.type = OFONO_ERROR_TYPE_FAILURE;      \