Commit 35bedafc authored by Kjartan Maraas's avatar Kjartan Maraas Committed by Dan Williams
Browse files

build: do the right thing with config.h (bgo #644672)

1) it shouldn't be included in headers
2) it should be the first thing included in source files
3) it's needed for getting translation right
parent f6138865
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 Red Hat, Inc.
*/
#include "config.h"
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 Red Hat, Inc.
*/
#include "config.h"
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
......
......@@ -22,8 +22,6 @@
#ifndef NM_CONNECTION_EDITOR_H
#define NM_CONNECTION_EDITOR_H
#include "config.h"
#include <glib-object.h>
#include <nm-client.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <string.h>
#include <errno.h>
#include <stdlib.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <string.h>
#include <errno.h>
#include <stdlib.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <string.h>
#include <ctype.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <string.h>
#include <net/ethernet.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <string.h>
#include <math.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 Red Hat, Inc.
*/
#include "config.h"
#include <string.h>
#include <glib.h>
#include <gmodule.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2008 - 2011 Red Hat, Inc.
*/
#include "config.h"
#include <stdlib.h>
#include <glib.h>
......
......@@ -21,6 +21,8 @@
* Copyright (C) 2009 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <string.h>
#include <errno.h>
#include <stdlib.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2007 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <glib/gi18n.h>
#include <ctype.h>
#include <string.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2007 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <glib/gi18n.h>
#include <ctype.h>
#include <string.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2007 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <glib/gi18n.h>
#include <ctype.h>
#include <string.h>
......
......@@ -21,6 +21,7 @@
* (C) Copyright 2007 - 2011 Red Hat, Inc.
*/
#include "config.h"
#include <glib.h>
#include <glib/gi18n.h>
......
......@@ -20,6 +20,8 @@
* (C) Copyright 2007 - 2010 Red Hat, Inc.
*/
#include "config.h"
#include <string.h>
#include <glib.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment