common.h 606 B

123456789101112131415161718192021222324252627282930313233
  1. /* iksemel (XML parser for Jabber)
  2. ** Copyright (C) 2000-2003 Gurer Ozen <madcat@e-kolay.net>
  3. ** This code is free software; you can redistribute it and/or
  4. ** modify it under the terms of GNU Lesser General Public License.
  5. */
  6. #ifdef HAVE_CONFIG_H
  7. #include "config.h"
  8. #endif
  9. #include <sys/types.h>
  10. #include <stdio.h>
  11. #ifdef STDC_HEADERS
  12. #include <stdlib.h>
  13. #include <string.h>
  14. #include <stdarg.h>
  15. #elif HAVE_STRINGS_H
  16. #include <strings.h>
  17. #endif
  18. #ifdef HAVE_UNISTD_H
  19. #include <unistd.h>
  20. #endif
  21. #ifdef HAVE_ERRNO_H
  22. #include <errno.h>
  23. #endif
  24. #ifndef errno
  25. extern int errno;
  26. #endif
  27. #include "finetune.h"