Explorar o código

Don't include config.h from header files

config.h must always be the first file included
Hugo Beauzée-Luyssen %!s(int64=7) %!d(string=hai) anos
pai
achega
9c23a57cb7
Modificáronse 2 ficheiros con 0 adicións e 4 borrados
  1. 0 2
      compat/compat.h
  2. 0 2
      src/bdsm_debug.h

+ 0 - 2
compat/compat.h

@@ -28,8 +28,6 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#include "config.h"
-
 #include <stdlib.h>
 #if !defined HAVE_STRLCPY && !defined HAVE_LIBBSD
 size_t strlcpy(char *dst, const char *src, size_t siz);

+ 0 - 2
src/bdsm_debug.h

@@ -31,8 +31,6 @@
 #ifndef _BDSM_DEBUG_H_
 # define _BDSM_DEBUG_H_
 
-# include "config.h"
-
 # ifdef __ANDROID__
 #  define LOG_TAG "libdsm"
 #  include <android/log.h>