projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for multi update - data corruption bug as reported (and patched) in #178 by kevin...
[rrdtool.git]
/
src
/
rrd_getopt.c
diff --git
a/src/rrd_getopt.c
b/src/rrd_getopt.c
index
b389aaa
..
50a61e8
100644
(file)
--- a/
src/rrd_getopt.c
+++ b/
src/rrd_getopt.c
@@
-30,12
+30,6
@@
#define _NO_PROTO
#endif
#define _NO_PROTO
#endif
-#ifdef HAVE_CONFIG_H
-#include "../rrd_config.h"
-#endif
-
-#include "rrd_i18n.h"
-
#if !defined (__STDC__) || !__STDC__
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */
#if !defined (__STDC__) || !__STDC__
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */
@@
-44,6
+38,14
@@
#endif
#endif
#endif
#endif
+
+#ifdef HAVE_CONFIG_H
+#include "../rrd_config.h"
+#endif
+
+#include "rrd_i18n.h"
+
+
#include <stdio.h>
/* Comment out all this code if we are using the GNU C Library, and are not
#include <stdio.h>
/* Comment out all this code if we are using the GNU C Library, and are not