Browse Source

Add required include, and remove Samba comment from header.

Rusty Russell 18 years ago
parent
commit
9927eebe7c
2 changed files with 1 additions and 3 deletions
  1. 1 0
      talloc/talloc.c
  2. 0 3
      talloc/talloc.h

+ 1 - 0
talloc/talloc.c

@@ -34,6 +34,7 @@
 #include "talloc.h"
 #include "talloc.h"
 #include <string.h>
 #include <string.h>
 #include <stdint.h>
 #include <stdint.h>
+#include <errno.h>
 
 
 /* use this to force every realloc to change the pointer, to stress test
 /* use this to force every realloc to change the pointer, to stress test
    code that might not cope */
    code that might not cope */

+ 0 - 3
talloc/talloc.h

@@ -1,9 +1,6 @@
 #ifndef CCAN_TALLOC_H
 #ifndef CCAN_TALLOC_H
 #define CCAN_TALLOC_H
 #define CCAN_TALLOC_H
 /* 
 /* 
-   Unix SMB/CIFS implementation.
-   Samba temporary memory allocation functions
-
    Copyright (C) Andrew Tridgell 2004-2005
    Copyright (C) Andrew Tridgell 2004-2005
    Copyright (C) Stefan Metzmacher 2006
    Copyright (C) Stefan Metzmacher 2006