addns: clean up headers
authorSimo Sorce <idra@samba.org>
Wed, 25 Apr 2012 13:47:47 +0000 (09:47 -0400)
committerSimo Sorce <idra@samba.org>
Thu, 26 Apr 2012 12:42:35 +0000 (08:42 -0400)
All this stuff is already included properly in the replace headers on top.

lib/addns/dns.h

index 88ba9d1fc0ba17f3532c49cd35061ec59e17ae55..2e805776421ae528932d3861b29ff6ed61546f7e 100644 (file)
 #endif
 #endif /* NO_CONFIG_H */
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <fcntl.h>
 #include <time.h>
-#include <string.h>
-#include <errno.h>
 #include <netdb.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <stdarg.h>
 
 #ifdef HAVE_UUID_UUID_H
 #include <uuid/uuid.h>
 #endif
 
-#ifdef HAVE_KRB5_H
-#include <krb5.h>
-#endif
-
-#ifdef HAVE_INTTYPES_H
-#include <inttypes.h>
-
-#ifndef int16
-#define int16 int16_t
-#endif
-
-#ifndef uint16
-#define uint16 uint16_t
-#endif
-
-#ifndef int32
-#define int32 int32_t
-#endif
-
-#ifndef uint32
-#define uint32 uint32_t
-#endif
-#endif
-
 #include <talloc.h>
 
 /*******************************************************************