summaryrefslogtreecommitdiffstats
path: root/collection/collection_cnv.c
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2012-12-23 13:03:00 -0500
committerOndrej Kos <okos@redhat.com>2013-01-24 08:34:37 +0100
commit57faa64667411a3d8eeeeff62b1e659a94ed29cf (patch)
tree229c850672e485e62fce866cf1b14fb65a5a4c06 /collection/collection_cnv.c
parent360710d1a6c0c24d00a915a630884281b0b9e665 (diff)
downloadding-libs2-57faa64667411a3d8eeeeff62b1e659a94ed29cf.tar.gz
ding-libs2-57faa64667411a3d8eeeeff62b1e659a94ed29cf.tar.xz
ding-libs2-57faa64667411a3d8eeeeff62b1e659a94ed29cf.zip
Fixing headers
Move GNU_SOUCE definition to configure.ac Change all headers to use config.h. Move config.h to the top. Remove errno.h if it is not needed.
Diffstat (limited to 'collection/collection_cnv.c')
-rw-r--r--collection/collection_cnv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/collection/collection_cnv.c b/collection/collection_cnv.c
index e9ca05d..c38f859 100644
--- a/collection/collection_cnv.c
+++ b/collection/collection_cnv.c
@@ -21,10 +21,9 @@
along with Collection Library. If not, see <http://www.gnu.org/licenses/>.
*/
-#define _GNU_SOURCE
+#include "config.h"
#include <string.h>
#include <stdlib.h>
-#include <errno.h>
#include <ctype.h>
#include <time.h>
#include "trace.h"