lib/replace: prefer inttypes.h over stdint.h
authorChristian Ambach <ambi@samba.org>
Tue, 9 Apr 2013 21:10:16 +0000 (23:10 +0200)
committerChristian Ambach <ambi@samba.org>
Mon, 6 May 2013 14:33:38 +0000 (16:33 +0200)
commitd68e676cacdcd346f0555c80a3389f50079d2e4f
treeef0e5510815565ee09288aea707335fa5be207f5
parentbbf62213efb0b77388aff1f5feb852414e1128a2
lib/replace: prefer inttypes.h over stdint.h

according to C99 7.8, inttypes.h should include stdint.h so prefer inttypes.h
and fall back to stdint.h (and our own definitions of PRI*) only when inttypes.h
could not be found

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/replace/replace.h