From 39e668ce5b06b0747e5039a59bcfe1174c6fe366 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 28 Oct 2007 18:16:54 +0100 Subject: Define ENODATA, for FreeBSD 5.0 and 6.1. * src/system.h (ENODATA): Define, if missing. --- ChangeLog | 3 +++ src/system.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3cbacf048..becbb6f3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-10-28 Jim Meyering + 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 diff --git a/src/system.h b/src/system.h index 88765e0f1..0cd0804ce 100644 --- a/src/system.h +++ b/src/system.h @@ -109,6 +109,9 @@ you must include before including this file #ifndef ENOSYS # define ENOSYS (-1) #endif +#ifndef ENODATA +# define ENODATA (-1) +#endif #include #include -- cgit v1.2.3-70-g09d2