Make all headers abide by config and features
authorRicardo Mones <ricardo@mones.org>
Fri, 3 Feb 2017 11:56:31 +0000 (12:56 +0100)
committerRicardo Mones <ricardo@mones.org>
Fri, 3 Feb 2017 11:56:31 +0000 (12:56 +0100)
src/stock_pixmap.c

index 70ff84e1e7454fd8d15699435cf8b1295cdf5ae2..b401fa7aa09508078679dbec4cf0a7c5ca957cac 100644 (file)
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "defs.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#include "claws-features.h"
+#endif
+
 #include <glib.h>
 #include <gtk/gtk.h>
 #include <string.h>
 #include <dirent.h>
 
-#include "config.h"
+#include "defs.h"
 #include "stock_pixmap.h"
 #include "gtkutils.h"
 #include "utils.h"