]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Define ENODATA, for FreeBSD 5.0 and 6.1.
authorJim Meyering <meyering@redhat.com>
Sun, 28 Oct 2007 17:16:54 +0000 (18:16 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 28 Oct 2007 17:16:54 +0000 (18:16 +0100)
* src/system.h (ENODATA): Define, if missing.

ChangeLog
src/system.h

index 3cbacf0486b29fbdf8bc8c3581e5159585284d5f..becbb6f3cbc89bf5b7f89f1a265bf1bc36d1b34f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-10-28  Jim Meyering  <meyering@redhat.com>
 
+       Define ENODATA, for FreeBSD 5.0 and 6.1.
+       * src/system.h (ENODATA): Define, if missing.
+
        Run autoreconf, not just autoconf, to avoid warnings.
        * GNUmakefile (dummy): Otherwise, we'd sometimes get a warning
        about autoconf version mismatch between what was used to generate
index 88765e0f1716fd9495f498932f232acc0d373f8d..0cd0804ce3ea4e973039cc411328613b5ee9aec6 100644 (file)
@@ -109,6 +109,9 @@ you must include <sys/types.h> before including this file
 #ifndef ENOSYS
 # define ENOSYS (-1)
 #endif
+#ifndef ENODATA
+# define ENODATA (-1)
+#endif
 
 #include <stdbool.h>
 #include <stdlib.h>