[vlc-commits] [Git][videolan/vlc][master] configure: remove prefix headers for net/if.h

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sat Feb 15 12:38:25 UTC 2025



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
46946474 by Brad Smith at 2025-02-15T12:16:05+00:00
configure: remove prefix headers for net/if.h

OpenBSD was the latest OS to fix if.h being built standlone and
we fixed this 7 yrs ago.

- - - - -


1 changed file:

- configure.ac


Changes:

=====================================
configure.ac
=====================================
@@ -1012,12 +1012,7 @@ AC_CHECK_HEADER([stdckdint.h],, [
 ])
 
 dnl  POSIX
-AC_CHECK_HEADERS([arpa/inet.h poll.h pthread.h search.h sys/shm.h sys/socket.h sys/uio.h wordexp.h])
-AC_CHECK_HEADERS([net/if.h], [], [],
-[
-#include <sys/types.h>
-#include <sys/socket.h>
-])
+AC_CHECK_HEADERS([arpa/inet.h net/if.h poll.h pthread.h search.h sys/shm.h sys/socket.h sys/uio.h wordexp.h])
 AC_CHECK_HEADER([syslog.h], [have_syslog="yes"], [have_syslog="no"])
 AM_CONDITIONAL([HAVE_SYSLOG], [test "$have_syslog" = "yes"])
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/469464747251c62fa8c548add6fef4a4bc38cc51

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/469464747251c62fa8c548add6fef4a4bc38cc51
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list