summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index 09b94c13c..ab4826682 100644
--- a/src/system.h
+++ b/src/system.h
@@ -765,6 +765,10 @@ enum
: (errno = EOVERFLOW, -1))
#endif
+#if ! HAVE_SYNC
+# define sync() /* empty */
+#endif
+
/* Compute the greatest common divisor of U and V using Euclid's
algorithm. U and V must be nonzero. */