Fix build on -stable.

PR:		57311
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
Reported by:	Adriaan de Groot <adridg@cs.kun.nl>
This commit is contained in:
Christian Weisgerber 2003-09-28 19:48:32 +00:00
parent 90e430077b
commit 473b6f6218
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89710

View file

@ -0,0 +1,16 @@
$FreeBSD$
--- src/state.h.orig Tue Sep 23 06:07:03 2003
+++ src/state.h Sun Sep 28 16:47:03 2003
@@ -20,7 +20,9 @@
* USA
*/
-#include <stdint.h>
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
int dcc_get_state_dir (char **p);
int dcc_open_state_file (int *p_fd);