Mercurial > hg-stable
comparison mercurial/mpatch.c @ 2543:860e9c83fc59
Include inttypes.h instead of stdint.h (fixes issue299)
Many projects use inttypes.h, too. stdint.h isn't available everywhere, e.g.
on some versions of Solaris, while inttypes.h is available everywhere where
stdint.h is.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 30 Jun 2006 21:41:46 +0200 |
parents | 1ac0574f1768 |
children | 345bac2bc4ec |
comparison
equal
deleted
inserted
replaced
2542:a20877c8a3e2 | 2543:860e9c83fc59 |
---|---|
41 } | 41 } |
42 #else | 42 #else |
43 /* not windows */ | 43 /* not windows */ |
44 # include <sys/types.h> | 44 # include <sys/types.h> |
45 # include <arpa/inet.h> | 45 # include <arpa/inet.h> |
46 # include <stdint.h> | 46 # include <inttypes.h> |
47 #endif | 47 #endif |
48 | 48 |
49 static char mpatch_doc[] = "Efficient binary patching."; | 49 static char mpatch_doc[] = "Efficient binary patching."; |
50 static PyObject *mpatch_Error; | 50 static PyObject *mpatch_Error; |
51 | 51 |