Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

autotools: Include config.h everywhere.

Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  • Loading branch information...
commit 4397025e9c8c591bd1530b0a719c6f88ed29bda7 1 parent 748e3c7
Daniel Stodden authored
Showing with 349 additions and 0 deletions.
  1. +5 −0 control/tap-ctl-allocate.c
  2. +5 −0 control/tap-ctl-attach.c
  3. +5 −0 control/tap-ctl-check.c
  4. +5 −0 control/tap-ctl-close.c
  5. +5 −0 control/tap-ctl-create.c
  6. +5 −0 control/tap-ctl-destroy.c
  7. +5 −0 control/tap-ctl-detach.c
  8. +5 −0 control/tap-ctl-free.c
  9. +5 −0 control/tap-ctl-ipc.c
  10. +4 −0 control/tap-ctl-list.c
  11. +4 −0 control/tap-ctl-major.c
  12. +5 −0 control/tap-ctl-open.c
  13. +5 −0 control/tap-ctl-pause.c
  14. +4 −0 control/tap-ctl-spawn.c
  15. +4 −0 control/tap-ctl-stats.c
  16. +5 −0 control/tap-ctl-unpause.c
  17. +4 −0 control/tap-ctl.c
  18. +4 −0 drivers/atomicio.c
  19. +3 −0  drivers/block-aio.c
  20. +5 −0 drivers/block-cache.c
  21. +5 −0 drivers/block-lcache.c
  22. +4 −0 drivers/block-llcache.c
  23. +4 −0 drivers/block-log.c
  24. +4 −0 drivers/block-ram.c
  25. +4 −0 drivers/block-valve.c
  26. +4 −0 drivers/block-vhd.c
  27. +4 −0 drivers/block-vindex.c
  28. +4 −0 drivers/io-optimize.c
  29. +4 −0 drivers/lock.c
  30. +5 −0 drivers/scheduler.c
  31. +4 −0 drivers/tapdisk-blktap.c
  32. +4 −0 drivers/tapdisk-client.c
  33. +5 −0 drivers/tapdisk-control.c
  34. +4 −0 drivers/tapdisk-diff.c
  35. +4 −0 drivers/tapdisk-disktype.c
  36. +4 −0 drivers/tapdisk-driver.c
  37. +4 −0 drivers/tapdisk-filter.c
  38. +5 −0 drivers/tapdisk-image.c
  39. +4 −0 drivers/tapdisk-interface.c
  40. +4 −0 drivers/tapdisk-log.c
  41. +4 −0 drivers/tapdisk-logfile.c
  42. +4 −0 drivers/tapdisk-loglimit.c
  43. +4 −0 drivers/tapdisk-queue.c
  44. +5 −0 drivers/tapdisk-ring.c
  45. +5 −0 drivers/tapdisk-server.c
  46. +4 −0 drivers/tapdisk-stats.c
  47. +4 −0 drivers/tapdisk-storage.c
  48. +5 −0 drivers/tapdisk-stream.c
  49. +4 −0 drivers/tapdisk-syslog.c
  50. +4 −0 drivers/tapdisk-utils.c
  51. +4 −0 drivers/tapdisk-vbd.c
  52. +5 −0 drivers/tapdisk2.c
  53. +4 −0 drivers/td-rated.c
  54. +4 −0 drivers/td.c
  55. +5 −0 lvm/lvm-util.c
  56. +5 −0 part/part-util.c
  57. +5 −0 part/partition.c
  58. +4 −0 vhd/lib/atomicio.c
  59. +4 −0 vhd/lib/libvhd-index.c
  60. +4 −0 vhd/lib/libvhd-journal.c
  61. +4 −0 vhd/lib/libvhd.c
  62. +4 −0 vhd/lib/libvhdio.c
  63. +4 −0 vhd/lib/relative-path.c
  64. +5 −0 vhd/lib/test/random-copy.c
  65. +4 −0 vhd/lib/test/test-snapshot.c
  66. +4 −0 vhd/lib/vhd-util-check.c
  67. +4 −0 vhd/lib/vhd-util-coalesce.c
  68. +4 −0 vhd/lib/vhd-util-create.c
  69. +4 −0 vhd/lib/vhd-util-fill.c
  70. +4 −0 vhd/lib/vhd-util-modify.c
  71. +4 −0 vhd/lib/vhd-util-query.c
  72. +4 −0 vhd/lib/vhd-util-read.c
  73. +4 −0 vhd/lib/vhd-util-repair.c
  74. +4 −0 vhd/lib/vhd-util-resize.c
  75. +4 −0 vhd/lib/vhd-util-revert.c
  76. +4 −0 vhd/lib/vhd-util-scan.c
  77. +4 −0 vhd/lib/vhd-util-set-field.c
  78. +4 −0 vhd/lib/vhd-util-snapshot.c
  79. +4 −0 vhd/vhd-index.c
  80. +5 −0 vhd/vhd-update.c
  81. +4 −0 vhd/vhd-util.c
View
5 control/tap-ctl-allocate.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
View
5 control/tap-ctl-attach.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
View
5 control/tap-ctl-check.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
View
5 control/tap-ctl-close.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
View
5 control/tap-ctl-create.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
View
5 control/tap-ctl-destroy.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
View
5 control/tap-ctl-detach.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
View
5 control/tap-ctl-free.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
View
5 control/tap-ctl-ipc.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
View
4 control/tap-ctl-list.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
View
4 control/tap-ctl-major.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
View
5 control/tap-ctl-open.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
View
5 control/tap-ctl-pause.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
View
4 control/tap-ctl-spawn.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
View
4 control/tap-ctl-stats.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <string.h>
#include <unistd.h>
View
5 control/tap-ctl-unpause.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
View
4 control/tap-ctl.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
View
4 drivers/atomicio.c
@@ -24,6 +24,10 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <errno.h>
#include "atomicio.h"
View
3  drivers/block-aio.c
@@ -26,6 +26,9 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <errno.h>
#include <fcntl.h>
View
5 drivers/block-cache.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
View
5 drivers/block-lcache.c
@@ -29,6 +29,11 @@
/* Local persistent cache: write any sectors not found in the leaf back to the
* leaf.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
View
4 drivers/block-llcache.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include "tapdisk.h"
View
4 drivers/block-log.c
@@ -38,6 +38,10 @@
* terminated by { 0, 0 }
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <stdio.h>
#include <fcntl.h>
View
4 drivers/block-ram.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
View
4 drivers/block-valve.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
View
4 drivers/block-vhd.c
@@ -50,6 +50,10 @@
* the BAT and bitmap writes successfully return.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
View
4 drivers/block-vindex.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
View
4 drivers/io-optimize.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#include <stdio.h>
#include <errno.h>
View
4 drivers/lock.c
@@ -30,6 +30,10 @@
* This module implements a "dot locking" style advisory file locking algorithm.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
View
5 drivers/scheduler.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
View
4 drivers/tapdisk-blktap.c
@@ -27,6 +27,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
View
4 drivers/tapdisk-client.c
@@ -28,6 +28,10 @@
/* client harness for tapdisk log */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <stdint.h>
View
5 drivers/tapdisk-control.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
View
4 drivers/tapdisk-diff.c
@@ -27,6 +27,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
View
4 drivers/tapdisk-disktype.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stddef.h>
#include <string.h>
#include <errno.h>
View
4 drivers/tapdisk-driver.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
View
4 drivers/tapdisk-filter.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <unistd.h>
#include <libaio.h>
View
5 drivers/tapdisk-image.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
View
4 drivers/tapdisk-interface.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <signal.h>
#include <unistd.h>
#include <errno.h>
View
4 drivers/tapdisk-log.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
View
4 drivers/tapdisk-logfile.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
View
4 drivers/tapdisk-loglimit.c
@@ -31,6 +31,10 @@
* until some interval expired.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "tapdisk-loglimit.h"
#include "compiler.h"
#include "list.h"
View
4 drivers/tapdisk-queue.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
View
5 drivers/tapdisk-ring.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include "tapdisk-ring.h"
View
5 drivers/tapdisk-server.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
View
4 drivers/tapdisk-stats.c
@@ -27,6 +27,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdarg.h>
View
4 drivers/tapdisk-storage.c
@@ -27,6 +27,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
View
5 drivers/tapdisk-stream.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
View
4 drivers/tapdisk-syslog.c
@@ -32,6 +32,10 @@
* http://www.ietf.org/rfc/rfc3164.txt (FIXME: Read this.)
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define _ISOC99_SOURCE
#include <stdlib.h>
#include <stdio.h>
View
4 drivers/tapdisk-utils.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <errno.h>
#include <stdio.h>
View
4 drivers/tapdisk-vbd.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
View
5 drivers/tapdisk2.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
View
4 drivers/td-rated.c
@@ -26,6 +26,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
View
4 drivers/td.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
View
5 lvm/lvm-util.c
@@ -25,6 +25,11 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
View
5 part/part-util.c
@@ -1,3 +1,8 @@
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#include <stdio.h>
#include <fcntl.h>
View
5 part/partition.c
@@ -1,3 +1,8 @@
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <endian.h>
#include <byteswap.h>
View
4 vhd/lib/atomicio.c
@@ -24,6 +24,10 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <errno.h>
#include "atomicio.h"
View
4 vhd/lib/libvhd-index.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
View
4 vhd/lib/libvhd-journal.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
View
4 vhd/lib/libvhd.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
View
4 vhd/lib/libvhdio.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
View
4 vhd/lib/relative-path.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
View
5 vhd/lib/test/random-copy.c
@@ -1,3 +1,8 @@
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
View
4 vhd/lib/test/test-snapshot.c
@@ -6,6 +6,10 @@
* this harness simply forks a test and stops/continues it at a given interval.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <signal.h>
View
4 vhd/lib/vhd-util-check.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
#include <stdio.h>
#include <errno.h>
View
4 vhd/lib/vhd-util-coalesce.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
View
4 vhd/lib/vhd-util-create.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
View
4 vhd/lib/vhd-util-fill.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
View
4 vhd/lib/vhd-util-modify.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
View
4 vhd/lib/vhd-util-query.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
View
4 vhd/lib/vhd-util-read.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
View
4 vhd/lib/vhd-util-repair.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
View
4 vhd/lib/vhd-util-resize.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
View
4 vhd/lib/vhd-util-revert.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
//#include <fcntl.h>
#include <stdio.h>
View
4 vhd/lib/vhd-util-scan.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <glob.h>
#include <errno.h>
#include <fcntl.h>
View
4 vhd/lib/vhd-util-set-field.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
View
4 vhd/lib/vhd-util-snapshot.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <stdio.h>
#include <fcntl.h>
View
4 vhd/vhd-index.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
View
5 vhd/vhd-update.c
@@ -36,6 +36,11 @@
* Updates are performed in place by writing appropriately
* transformed versions of journaled bitmaps to the original file.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
View
4 vhd/vhd-util.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
Please sign in to comment.
Something went wrong with that request. Please try again.