apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Foad <julianf...@btopenworld.com>
Subject [PATCH] Fix 'apr_private.h:714:5: warning: "BEOS" is not defined'
Date Sat, 13 Nov 2004 21:32:54 GMT
Julian Foad wrote:
>> apr-util/misc/apr_queue.c:15:5: warning: "APR_HAVE_STDIO_H" is not defined
>> apr-util/misc/apr_queue.c:18:5: warning: "APR_HAVE_STDLIB_H" is not defined
>> apr-util/misc/apr_queue.c:21:5: warning: "APR_HAVE_UNISTD_H" is not defined

Judgind by another file in the same directory, this needs to include "apr.h" 
which defines the symbols that it is testing.

Index: misc/apr_queue.c
===================================================================
RCS file: /home/cvspublic/apr-util/misc/apr_queue.c,v
retrieving revision 1.14
diff -u -3 -p -d -r1.14 apr_queue.c
--- misc/apr_queue.c    29 Sep 2004 18:02:08 -0000      1.14
+++ misc/apr_queue.c    13 Nov 2004 21:31:22 -0000
@@ -12,6 +12,9 @@
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
+
+#include "apr.h"
+
  #if APR_HAVE_STDIO_H
  #include <stdio.h>
  #endif

Please tell me if I should do anything more or different to help get this fixed.

- Julian

Mime
View raw message