chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cope with various header files being missing.
[disorder]
/
lib
/
charset.c
diff --git
a/lib/charset.c
b/lib/charset.c
index fdc6d619e25731755fcbeafa556b4819bbd0c88d..feb4469e5950d0c7de9837ee3fa49d80e22ecff2 100644
(file)
--- a/
lib/charset.c
+++ b/
lib/charset.c
@@
-1,6
+1,6
@@
/*
* This file is part of DisOrder.
/*
* This file is part of DisOrder.
- * Copyright (C) 2004, 2005, 2007, 2008 Richard Kettlewell
+ * Copyright (C) 2004, 2005, 2007, 2008
, 2013
Richard Kettlewell
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-19,9
+19,13
@@
#include "common.h"
#include "common.h"
-#include <iconv.h>
+#if HAVE_ICONV_H
+# include <iconv.h>
+#endif
#include <errno.h>
#include <errno.h>
-#include <langinfo.h>
+#if HAVE_LANGINFO_H
+# include <langinfo.h>
+#endif
#include "mem.h"
#include "log.h"
#include "mem.h"
#include "log.h"