Guard include of config.h with HAVE_CONFIG_H

This commit is contained in:
Tatsuhiro Tsujikawa 2012-05-19 22:11:51 +09:00
parent 14f5c463e9
commit 80ab232060
2 changed files with 6 additions and 2 deletions

View File

@ -25,7 +25,9 @@
#ifndef HTML_PARSER_H
#define HTML_PARSER_H
#include <config.h>
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif // HAVE_CONFIG_H
#include <vector>
#include <string>

View File

@ -22,7 +22,9 @@
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <config.h>
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif // HAVE_CONFIG_H
#include <sys/types.h>
#include <sys/socket.h>