~ubuntu-branches/ubuntu/lucid/graphviz/lucid-updates

« back to all changes in this revision

Viewing changes to contrib/diffimg/diffimg.c

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2008-06-19 20:23:23 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080619202323-ls23h96ntj9ny94m
Tags: 2.18-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Build depend on liblualib50-dev instead of liblua5.1-0-dev.
  - Drop libttf-dev (libttf-dev is in universe) (LP: #174749).
  - Replace gs-common with ghostscript.
  - Build-depend on python-dev instead of python2.4-dev or python2.5-dev.
  - Mention the correct python version for the python bindings in the
    package description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: diffimg.c,v 1.12 2007/10/19 17:33:50 ellson Exp $ $Revision: 1.12 $ */
 
1
/* $Id: diffimg.c,v 1.13 2008/02/22 14:21:42 glenlow Exp $ $Revision: 1.13 $ */
2
2
/* vim:set shiftwidth=4 ts=8: */
3
3
 
4
4
/**********************************************************
36
36
#include <sys/types.h>
37
37
#include <sys/stat.h>
38
38
#include <unistd.h>
 
39
#ifdef WIN32
 
40
#define EX_USAGE                64
 
41
#define EX_DATAERR              65
 
42
#define EX_NOINPUT              66
 
43
#define EX_UNAVAILABLE  69
 
44
#else
39
45
#include <sysexits.h>
 
46
#endif
40
47
#include <gd.h>
41
48
#if defined HAVE_STDBOOL_H && ! defined __cplusplus
42
49
#include <stdbool.h>