You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Garey Smiley <ga...@main.slink.com> on 1996/07/27 18:52:29 UTC

More OS/2 patches for support

If these look OK to everyone could someone please commit them.

*** logresolve.c.orig	Thu Feb 22 03:47:38 1996
--- logresolve.c	Sat Jul 27 12:48:14 1996
***************
*** 41,53 ****
--- 41,60 ----
  
  \***                                                                 
    ***/
  
+ #ifdef __EMX__
+ /* Need this include before any others under OS/2 */
+ #include <sys/types.h>
+ #endif
+ 
  #include <ctype.h>
  #include <netdb.h>
  #include <string.h>
  #include <stdio.h>
  #include <stdlib.h>
  
+ #ifndef __EMX__
  #include <sys/types.h> 
+ #endif
  #include <sys/socket.h>
  
  #include <netinet/in.h>

*** Makefile.orig	Thu Jun 13 12:49:54 1996
--- Makefile.	Sat Jul 27 12:48:48 1996
***************
*** 10,16 ****
  # For SCO ODT
  #EXTRA_LIBS= -lcrypt_i
  # For OS/2 port
! #EXTRA_LIBS= -llibufc
  
  
  INCLUDES= -I../src
--- 10,16 ----
  # For SCO ODT
  #EXTRA_LIBS= -lcrypt_i
  # For OS/2 port
! #EXTRA_LIBS= -llibufc -lsocket
  
  
  INCLUDES= -I../src
***************
*** 69,75 ****
  	$(CC) $(INCLUDES) $(CFLAGS) rotatelogs.c -o rotatelogs
  
  logresolve: logresolve.c
! 	$(CC) $(INCLUDES) $(CFLAGS) logresolve.c -o logresolve
  
  clean:
  	rm -f $(TARGETS)
--- 69,75 ----
  	$(CC) $(INCLUDES) $(CFLAGS) rotatelogs.c -o rotatelogs
  
  logresolve: logresolve.c
! 	$(CC) $(INCLUDES) $(CFLAGS) logresolve.c -o logresolve 
$(EXTRA_LIBS)
  
  clean:
  	rm -f $(TARGETS)



Garey Smiley
SoftLink Services
garey@slink.com
http://www.slink.com/
(330)848-1312 FAX/Data(330)699-4474

Re: More OS/2 patches for support

Posted by Brian Behlendorf <br...@organic.com>.
Committed.  (Institutionalized?)

On Sat, 27 Jul 1996, Garey Smiley wrote:
> If these look OK to everyone could someone please commit them.
> 
> *** logresolve.c.orig	Thu Feb 22 03:47:38 1996
> --- logresolve.c	Sat Jul 27 12:48:14 1996
> ***************
> *** 41,53 ****
> --- 41,60 ----
>   
>   \***                                                                 
>     ***/
>   
> + #ifdef __EMX__
> + /* Need this include before any others under OS/2 */
> + #include <sys/types.h>
> + #endif
> + 
>   #include <ctype.h>
>   #include <netdb.h>
>   #include <string.h>
>   #include <stdio.h>
>   #include <stdlib.h>
>   
> + #ifndef __EMX__
>   #include <sys/types.h> 
> + #endif
>   #include <sys/socket.h>
>   
>   #include <netinet/in.h>
> 
> *** Makefile.orig	Thu Jun 13 12:49:54 1996
> --- Makefile.	Sat Jul 27 12:48:48 1996
> ***************
> *** 10,16 ****
>   # For SCO ODT
>   #EXTRA_LIBS= -lcrypt_i
>   # For OS/2 port
> ! #EXTRA_LIBS= -llibufc
>   
>   
>   INCLUDES= -I../src
> --- 10,16 ----
>   # For SCO ODT
>   #EXTRA_LIBS= -lcrypt_i
>   # For OS/2 port
> ! #EXTRA_LIBS= -llibufc -lsocket
>   
>   
>   INCLUDES= -I../src
> ***************
> *** 69,75 ****
>   	$(CC) $(INCLUDES) $(CFLAGS) rotatelogs.c -o rotatelogs
>   
>   logresolve: logresolve.c
> ! 	$(CC) $(INCLUDES) $(CFLAGS) logresolve.c -o logresolve
>   
>   clean:
>   	rm -f $(TARGETS)
> --- 69,75 ----
>   	$(CC) $(INCLUDES) $(CFLAGS) rotatelogs.c -o rotatelogs
>   
>   logresolve: logresolve.c
> ! 	$(CC) $(INCLUDES) $(CFLAGS) logresolve.c -o logresolve 
> $(EXTRA_LIBS)
>   
>   clean:
>   	rm -f $(TARGETS)
> 
> 
> 
> Garey Smiley
> SoftLink Services
> garey@slink.com
> http://www.slink.com/
> (330)848-1312 FAX/Data(330)699-4474
> 
> 

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  www.apache.org  hyperreal.com  http://www.organic.com/JOBS