[patch] remove unneeded headers from src/names.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



the src/names.c file includes many more headers than it actually needs ... 
this causes troubles when porting to a target that lacks those headers :)

patch attached to scrub said headers
-mike

Attachment: pgp7pWpg6OpwU.pgp
Description: PGP signature

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>

 names.c |    4 ----
 1 file changed, 4 deletions(-)

diff -r 46221e609f45 src/names.c
--- a/src/names.c	Wed Sep 06 14:39:01 2006 +0200
+++ b/src/names.c	Thu Sep 07 14:39:43 2006 -0400
@@ -31,12 +31,8 @@
  */
 
 #include <stdarg.h>
-#include <wordexp.h>
-#include <dlfcn.h>
 #include <limits.h>
 #include <sys/stat.h>
-#include <pthread.h>
-#include <locale.h>
 #include "local.h"
 
 #ifndef DOC_HIDDEN
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux